Hi Baleja
I would power cycle everything.
Turn the printer and computer off.
Disconnect the power cable on the router for 10 seconds, then reconnect the power cable again. Turn the computer on, then the printer.
Try and access the embedded webserver again with the IP address typed into the Safari browser. Try and add the printer back in. Try printing.
If it still fails I would restore the network settings on the printer and set up the printer on the network again.
Here is a document for setting up the network.
If you need more assistance just let me know.