2

So I have my "Hello World" Java project, using Intellij Idea, tomcat 7 is running. OS Windows 7. When I go to http://localhost:8080/ from my PC, it works fine. Now, I want the world to see my creation. I have static ip address 109.251.63.15. I believe I opened 80 port in firewall properly firewall port exception props
but I still get "page not found" when I go to 109.251.63.15. What I am doing wrong?

4
  • 1
    You have to configure port forwarding on your router. Commented Feb 9, 2015 at 13:23
  • You have to configure port forwarding as @BackSlash says. Some routers though have a preloaded DDNS configuration. Look at some of the famous free Dynamic DNS.
    – Narmer
    Commented Feb 9, 2015 at 13:45
  • can't you simply make your tomcat listen to port 80?
    – geert3
    Commented Feb 9, 2015 at 14:02
  • Yes guys, it was port forwarding issue. I plugged Internet cable directly into PC, and it worked. Harlandraka, thanks for link about port forwarding.
    – Kolos
    Commented Feb 15, 2015 at 19:55

1 Answer 1

0
1-Download ngrok.
2-Run your service.
3-Assuming your tomcat server listen on port 8080, run ngrok in command line with this command:  ngrok.exe http 8080

Now, the client can run request with the url http://a9bb8562.ngrok.io/myapp.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .