users@glassfish.java.net

localhost only?

From: <forums_at_java.net>
Date: Wed, 29 Aug 2012 10:34:57 -0500 (CDT)

Hello, I've deployed an app successfully on a GlassFish 3.1.2.2 server. I
have the following problem now: I can access the website at the URL
http://localhost:8180/ but I can't access the website at the URL
http://dhcppc8.scollection.de:8180/ dhcppc8.scollection.de is just another
hostname for localhost. It's the same computer/host. I think it's a name
resolving problem locally somewhere. If I ping dhcppc8.scollection.de, it has
the same IP address as localhost. I think that the entries in my etc/hosts
are correct. Is this problem known somewhere? Or do I need Apache2 with
VirtualHost and the jk_mod connector to solve that problem? My /etc/hosts
says: 127.0.0.1 localhost localhost.localdomain dhcppc8.scollection.de ::1
localhost localhost6 localhost6.localdomain6 dhcppc8.scollection.de
[root_at_dhcppc8 ~]# ping dhcppc8.scollection.de PING localhost (127.0.0.1)
56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64
time=0.058 ms 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64
time=0.058 ms ... Many thanks in advance, Jana

--
[Message sent by forum member 'byte-2702']
View Post: http://forums.java.net/node/889674