File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes connecting through NAT firewall Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "connecting through NAT firewall" Watch "connecting through NAT firewall" New topic

connecting through NAT firewall

fxdk fxdk

Joined: Jul 04, 2006
Posts: 3
I have a server running on a network.
The network is running inside a NAT firewall.

How can a client from the internet connect to my server on the network through the NAT firewall?

Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11277

Hi fxdk fxdk,

Welcome to JavaRanch. Please look carefully at the official naming policy at Javaranch & reregister yourself with a proper first & last name, with a space between them. Please adhere to official naming policy & help maintain the decorum of the forum. The naming policy can be found at

Thank you.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
I agree. Here's the link:
subject: connecting through NAT firewall
Similar Threads
how to start the server
Sending video streams to a remote computer
Client cannot access CORBA Server behind firwall
trying to connect to another ip adress
Tomcat @ 8090