2 Replies Latest reply on Sep 18, 2006 5:51 AM by drhok

    Listen to different IP address in URL?

    drhok

      My AS (JBoss 4.0.3SP1) sits in a private network (192.168.0.x) behind a firewall; port 8080 forward to the AS.

      I can get to its web service from the outside using any name in the URL, like http://foo:8080/ , but not using the IP address of the firewall.

      (Of course foo must resolve to the IP address of the firewall, e.g. via an entry in /etc/hosts.)

      I guess the web server simply discards the request when the host part of the URL is an IP address, but not its own.

      Is there a way to turn this off, i.e. to accept any http request coming in, no matter what the host part in the URL is?

        • 1. Re: Listen to different IP address in URL?

          That's a function of the firewall. It probably forwards requests to DNS entries to the proper machine, but if you give the IP address of the firewall itself it will try to resolve them to itself.

          foo in your case will be a URL that maps to the machine your appserver is running on in the DNS table of the firewall.

          • 2. Re: Listen to different IP address in URL?
            drhok

             

            "jwenting" wrote:
            That's a function of the firewall.


            No, it isn't, but thanks for your reply.

            I analysed the network traffic with wireshark and found that the problem is a wrong proxy configuration for IE. Accidentally, the corporate LAN segment containing the firewall is not contained in the list of direct connections.

            Sorry for wasting everybody's time.