Hi I think you need to restart the modem and the router in order to make you computer adquire the the info.....
Turn off your computer (wireless one)
turn off your modem and router (unplug them from the wall)
wait around 2 minutes....
Start turning on your modem. Wait until all lights stop blinking
Turn on your router
and finally turn on your computer...
See if you are able to connect this time...
Let us know