Reputation: 37
A server application, written in Java, will be hosted on an IP address provided by the router. How can a client connect from anywhere to the server even though the server doesn't have a public IP, just an IP address provided by the router using NAT translation?
Upvotes: 2
Views: 624
Reputation: 1421
You will need to configure a Port Forwarding on your router.
A disadvantage of having your server behind a router using NAT is it gets complicated if you want to have https connections.
Upvotes: 3