Developer Desk
Developer Desk

Reputation: 2344

Can I access my application running on localhost:8080 from WAN..?

I developed an application in my home machine. Now I want to show application that i made to client through WAN. I have TP-Link WiFi router at my home. Is it possible using port forwarding or other solution ?

Upvotes: 0

Views: 1197

Answers (1)

Malt
Malt

Reputation: 30315

Yes, you can use port forwarding to make your application accessible from the Internet. Essentially, what you want to do is redirect traffic coming into your public IP on port 80 to the internal machine running tomcat on port 8080.

There are public guides available for configuring port forwarding on different routers.

Edit: Port forwarding however might not be the only problem. There are other things to consider: 1. You should use a static external IP and map it to a DNS name, so users will be able to access the site by typing the name in the address bar. 2. You should make sure that the machine running tomcat allows external connections to port 8080, so these aren't blocked by the firewall.

Upvotes: 2

Related Questions