0

1) Port 80 is open and forwarded to local machine (I can verify it with a port checking tool).

2) Glassfish is running and the web app is deployed (I can see it 192.168.1.3:8080/FamilyTree and it is listed in the admin console)

3) How do I get to the site using my router's external ip address? What do I type?

Is it externalIP/FamilyTree?

I'm probably missing a really simple step but would appreciate any help! Thanks in advance!

1
  • 1
    If you are inside your network, you might not be able to. A lot of routers don't support the local loopback required to go from behind your router->public IP->back to your private network.
    – Joe
    Dec 13, 2013 at 1:14

1 Answer 1

0
  1. Port 80 should be opened on router and mapped to your local machine to port 8080
  2. Then you need to find out your external IP address, try http://www.whatismyip.com/
  3. then just open browser with http://YOUR EXTERNAL IP/FamilyTree
10
  • what does it mean, mapped to my local machine on 8080? port 80 is opened on my router and pointing to my machine's local ip. Do I have to specify 8080 somewhere? Dec 13, 2013 at 1:11
  • @user2947084 yes, you need to configure your router to forward requests which are to ROUTER:80 to YOURLOCALIP:8080 Dec 13, 2013 at 1:14
  • perhaps you need to have glashfish running on 80 if you are forwarding 80 and can't change which local port it points at. Or you could open port 8080 and forward that to your local machine. Dec 13, 2013 at 1:15
  • Ok, so I set my router to forward 80 to 8080 but I couldn't hit 8080 with port check tool. Created an inbound rule in the firewall/turned firewall off...etc. Dec 13, 2013 at 1:50
  • Put the router back to forward 80 to 80, port is showing as open, so now I'll try having glassfish listen on 80. Dec 13, 2013 at 1:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.