Generally you can connect to any wifi to browse the internet without any problem.
But if the wifi has proxy based connection then your phone does not support.
To overcome from this problem, we need to follow some types.
Step 1: Root your phone , if already rooted then leave this Step 1.
Step 2: Use ProxyDriod apk application ( Download it from here (https://play.google.com/store/apps/d...oxydroid&hl=en ) .
Step 3. Install it and open it in your phone.
Step 4: Click on PENCIL icon to create setting name, Enter any name and click on OK.
Step 5: Click on HOST , Here you have to enter the proxy IP / Address of that Wifi and Select OK.
Step 6: Click on PORT. Here you hvae to enter the proxy port number and select OK.
Step 7: Select Auto Connect
Step 8: Select The WIfi name in Bound Network.
Step 9: Select on Enable Authentication and enter your wifi proxy username and password , Select NTLM Authentication.
Step 10: Select Gobal Proxy and DNS proxy.
Step 11: Come on the top, You will see Proxy Switch (Enable/Disable Proxy), You have to enable it.
Step 12: That's it. wait for a minute. You will get comfirmation that proxydroid connected with your given wifi name. Now you be able to use anything in your phone through Internet.
If i helped you then please click on thanks button.