You assume a LOT here! Not ALL wifi networks are on a 192.168.1.x subnet! Also... just because the wifi is not connecting does not mean you need to enabled a proxy setting. In fact, that is HIGHLY unlikely.
In most cases where you have good signal strength but your connection fails, the problem is DHCP. DHCP is the service (usually on the wifi router) that hands out IP addresses. For simple routers, this is all automatic and no settings to deal with. Also, keep in mind that many of these devices limit the number of concurrent connections. You may not even realize it, but there can be other devices you completely forgot were also connected (PC, tablet, additional phones, printers, etc). Each of those may be consuming another connection.
Step 1 is to shut down that router so the DHCP pool is flushed. Turn off other devices.. at least temporarily to rule out the issue of too many connections. Then, attempt to connect to the wifi service again. You may also want to cycle the power on your phone or device as well. Note: DO NOY just do a reboot of the router. ACTUALLY shut it down. Power it off completely. If a solid-state component is still energized it may not cycle the way you need it to. Cut the power all the way, then power it back up.
In almost ALL cases, hard setting IP addresses on a mobile device is a HUGE no no! Later on (weeks or months), you may switch to another wifi and wonder what the heck is going on.. why nothing works. "Oh yea... you hard set the IP!!!!". DON'T do it. You'll be ripping out your hair later trying to figure out what happened.