Solved

Unable to access Apache Tomcat Port 8080 on Red Hat 5.4 server from Windows system on network

Posted on 2010-11-24
11
1,567 Views
Last Modified: 2012-08-13
We have recently deployed a Red Hat 5.4 server on our network and have deployed Apache Tomcat to serve VXML and JSP pages.

The issue is that we are unable to access port 8080 on the Red Hat Server to access any of the pages.  We are able to pull up that Administrative page if on the local machine, but from the remote machine we get a 404 error and are unable to display the page.

We have disabled the firewall on the Red Hat machine to rule it out.  Also, there are no firewalls betweent the two systems on the network.

Here is some information that I pulled from the Red Hat system related to port 8080.  Any assistance would be greatly appreciated.

 Port-8080-Info.txt
0
Comment
Question by:davidpaez
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 16

Expert Comment

by:Blaz
ID: 34211076
What is your apache configuration?
0
 

Author Comment

by:davidpaez
ID: 34211566
Hi Blaz,

I have attached the httpd.conf file.  I believe that this is what you are asking for.  Please let me know if there is any additional information that I should provide.

Just open it with WordPad or some other text editor to preserve formatting for viewing.

Thanks!
 httpd.conf.txt
0
 
LVL 16

Expert Comment

by:Blaz
ID: 34211717
Actually you should also include the virtual hosts configuration. This configuration file does not tell anything about server on 8080 port.
0
Turn Insights into Action

Communication across every corner of your business is essential to increase the velocity of your application delivery and support pipeline. Automate, standardize, and contextualize your communication processes with xMatters.

 

Author Comment

by:davidpaez
ID: 34212004
Thanks Blaz.  Are you saying that I possibly need to add a Virtual Host to this configuration file?  I believe that there is a section for Virtual Hosts in httpd.conf.  Currently, there are no entries in this section.

Or is there another file that I should be looking for?
0
 
LVL 15

Expert Comment

by:samri
ID: 34212195
are you able to access the page is connected locallly on the machine running apache.

you could start a web browser (on the Redhat box), and try to browse to http://127.0.0.1:8080/ and validate if this possible.  Or you could do a "telnet localhost 8080" from a command shell.
0
 

Author Comment

by:davidpaez
ID: 34213260
Hi Samri,

I can access it locally if I use http://localhost:8080.

However, I get a blank page if I use 127.0.0.1:8080 or the IP address of the machine (locally).

If I do a "telnet localhost 8080" it reads that I am connected.
0
 
LVL 16

Expert Comment

by:Blaz
ID: 34215774
There should be a separate virtualhosts file - you certainly have virtualhosts configured but the httpd.conf does not contain any information about them.
0
 
LVL 7

Accepted Solution

by:
stephenhoekstra earned 125 total points
ID: 34216636
Tomcat isn't bound to an IPv4 address.

You should be seeing either 0.0.0.0:8080 (bound to all IPv4 addresses) or one of your network IP addresses when doing a netstat, unless this is intended.
0
 

Author Comment

by:davidpaez
ID: 34223824
Hi Blaz

Unfortunately, being a Red Hat neophyte, I do not know what the separate file would be.  I did do a search for virtualhosts but nothing was returned.

Perhaps I should start by trying to configure a virtual host in the httpd.conf file?

Thanks again for you help.
0
 

Author Comment

by:davidpaez
ID: 34223830
Hi Stephen,

I am not sure what I need to do to bind Tomcat to an IPv4 address.  I have tried editing the server.xml file to explicitly associate port 8080 with the IP of the machine.  Although after making the edit and restarting Tomcat, a netstat -na tcp shows the updated ip address associated with 8080, it does not seem to resolve the issue.

Thanks!
0
 
LVL 7

Expert Comment

by:stephenhoekstra
ID: 34224908

Just to make sure, please repaste the 'netstat -anp' output :)

Machine should be accessible from remote locations now when browsing to port 8080.  Let's get that working first, and then we'll move onto configuring apache to redirect or proxy the requests to Tomcat.

Thanks,
Stephen
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question