I have a running webapp on localhost:80. How can I now expose it to the internet?
I use tomcat, and can access my localhost ip from network fine!
But if I try to connect to my internet-ip, I only get timeouts.
How can I access my app from the web?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You will need to configure your router (ie the device connecting your local network to the internet) to forward incoming TCP connections on port 80, to port 80 on the machine running Tomcat.
This will be much easier if the internal IP of your Tomcat machine is static, if you allocate IP addresses internally using DHCP then you will need to keep the port-forwarding rule updated as the IP changes.