I have obtained a static ip address for my router from my ISP (it is a dsl router provided by my ISP). Many devices are connected to this router in wireless mode. One of them is my Server. The server is running JBoss on port 8080.
To forward incoming requests to JBOSS. I have done port-forwarding in the router. It is done using a feature called virtual servers in the DSL router, wherein you can forward requests on specific ports (in this case 8080) to a specific Internal ip address.
The internal ip address is obtained dynamically from the router when the server gets connected to the router. But if due to some problem, the router reboots or the connection between the server and the router has to be re established, the internal ip address gets changed (as it is assigned dynamically) and the incoming 8080 requests are forwarded to the wrong machine.
So I tried to change the settings on Windows. Instead of
Obtain an IP Address Automatically
Use the following IP Address
and gave an internal ip address, subnet mask and set the default gateway to the address of the router. But I get
No internet access error.
I am not able to access the internet with this setting. So I tried disabling DHCP on the router. Still I get the same
No internet access