0 Replies Latest reply on Nov 13, 2002 2:40 PM by Peter Povse

    Firewall: Problem accessing JBOSS over internet

    Peter Povse Newbie

      Hi there!

      I need some help.
      My Jboss-Webserver (with the local ip 192.168.1.3) is behind a firewall/router (with one static IP).
      The firewall accesses the server via NAT (by translate the ports 1099,4444,and the jnp.rmiPort).
      Contacting the jboss-server from other computer in the local net works. But when I try to connect
      the Server from the internet it fails with an error like this:

      javax.naming.CommunicationException [Root exception is java.rmi.ConnectException:
      Connection refused to host: 192.168.1.3; nested exception is:
      java.net.ConnectException: Verbindungsaufbau abgelehnt]

      For me this seem that the initial connection to the server is ok. But then the server answers with
      its own IP (maybe from the /etc/hosts), which is a local IP address.
      With this local IP the client cannot do any further connection!

      If I change the webservers IP to the static IP, the server can be addressed from the internet but
      no longer from the local net. Isn't it funny?!

      Does anybody have an idea ?

      Thanx,

      Peter