?
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
Medium Priority
?
1,865 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
The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

 

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 500 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month8 days, 1 hour left to enroll

765 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