I have jboss 5.0 running a web application I am developing. I am able to hit the pages using localhost:8080 but not my external IP address.. How can i hit with my ip???
migrated from stackoverflow.com Aug 15 '12 at 13:40
This question came from our site for professional and enthusiast programmers.
Your router default firewall settings probably doesnt allow tcp/udp connections outside of world to access your local network via port 80 or 8080. You need to set up 'Port Forwarding' on your modem/router. Simply google your 'modem model' port forwarding. You need to have admin privileges on your modem and if more than one device has connected to your modem/router then you need to make sure you forward your port to correct DHCP address .If your DHCP address dynamically assigned you need to make sure you always get same DHCP address per connection. In this case you need to use your mac address for creating static dhcp. here is a one example. Also I would like to inform you opening your ports outside means anyone can access your ip via this Port which is not secure. I would use a port more than 40000 for the outside then forward to 8080 of local network and access via myIp:40000.
You have to start the server with additional parameter command with ./run.sh -b 0.0.0.0 or run.bat -b 0.0.0.0.
|show 6 more comments|