Quantcast
Channel: VMware Communities : Popular Discussions - VMware Server 1
Viewing all articles
Browse latest Browse all 74849

Cannot View Tomcat Webpage Running on Vmware Guest from Host Browser

$
0
0

I cannot view my tomcat service which is running on my vmware guest from

a browser on my host machine. I can view the webpage on the guest using

http://localhost:8008,http://192.168.1.120:8008 or

http://myserver:8008. However I get an "unable to connect" error

message after the request times out when I try to view the page from

the host. I used telnet from the host OS to test some of the ports that

are listed as listening, including 8008. The only ports I can connect

to from the host are 22 (ssh) and 25 (smtp).

 

 

-


VMware version: 1.0.6

Host OS: Win XP Pro SP2

Guest

OS: Red Hat Enterprise Linux ES release 4 (Nahant Update 1)   Linux

myserver 2.6.9-11.EL #1 Fri May 20 18:17:57 EDT 2005 i686 i686 i386

GNU/Linux

VMWare guest network config: Bridged to a static IP:

 

eth0      Link encap:Ethernet  HWaddr 00:0C:29:DC:43:6B

inet addr:192.168.1.120  Bcast:192.168.1.255  Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fedc:436b/64 Scope:Link

UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

RX packets:10435 errors:0 dropped:0 overruns:0 frame:0

TX packets:3153 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:703248 (686.7 KiB)  TX bytes:437613 (427.3 KiB)

Interrupt:11 Base address:0x1400

 

lo        Link encap:Local Loopback

inet addr:127.0.0.1  Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING  MTU:16436  Metric:1

RX packets:6040 errors:0 dropped:0 overruns:0 frame:0

TX packets:6040 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:12649433 (12.0 MiB)  TX bytes:12649433 (12.0 MiB)

 

sit0      Link encap:IPv6-in-IPv4

NOARP  MTU:1480  Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

-


 

 

I edited /etc/hosts

-


\[root@myserver ~\]# cat /etc/hosts

 

 

  1. Do not remove the following line, or various programs

  2. that require network functionality will fail.

127.0.0.1               localhost.localdomain localhost

192.168.1.120           myserver

-


 

 

I installed JDK6 and tomcat 6. I have tomcat configured on port 8008

and port 8888 for SSL. Here is what a filtered netstat looks like when

tomcat is running.

-


\[root@myserver ~\]# netstat -an | grep LIST

tcp        0      0 0.0.0.0:32769               0.0.0.0:*                   LISTEN

tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN

tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN

tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN

tcp        0      0 ::ffff:127.0.0.1:8006       :::*                        LISTEN

tcp        0      0 :::8008                     :::*                        LISTEN

tcp        0      0 :::22                       :::*                        LISTEN

tcp        0      0 :::8888                     :::*                        LISTEN

 

-


 

 

I created a service "tomcat_java" for tomcat in /etc/services and

configured xinetd to recognize it. I would greatly appreciate some

assistance on getting the tomcat webpage recognized on the server.

 

Thanks,

 

mdrafting


Viewing all articles
Browse latest Browse all 74849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>