Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-11-2009, 04:59 AM   #1
LQ Newbie
Registered: May 2009
Posts: 4

Rep: Reputation: 0
webserver doesn't reply to external request but it reply's to local request

Hi guys,

I am new in linux,
I installed apache-tomcat on fedora.
I can view all web pages on localhost:8080 but when I try to view them by server's url address from another computer, I don't get respond.
Can it be a firewall problem or something else?
Old 05-11-2009, 05:27 AM   #2
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
yes, check your iptable port 8080 allowed or not
Old 05-11-2009, 07:35 AM   #3
LQ Newbie
Registered: May 2009
Posts: 13

Rep: Reputation: 0
Might be that the server is not set to listen
on all interfaces.

Try and find a Listen variable in httpd.conf

It should be Listen *:8080

Then restart apache tomcat

Last edited by Igby; 05-11-2009 at 07:37 AM. Reason: More info
Old 05-11-2009, 07:53 AM   #4
Registered: Oct 2008
Location: Online
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 51
On the server:
netstat -antp | grep http

from another computer:
telnet server.ip.addr.ess 8080

If these fail, check your firewall (iptables?)
iptables -L

if no firewall
cat /var/log/httpd/error.log
Old 05-11-2009, 05:27 PM   #5
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Originally Posted by ziba View Post
...but when I try to view them by server's url address from another computer, I don't get respond.
From the server's URL? When at this "other computer", can you ping the server by its name? IE ping If not, then you will need to sort out your DNS as well. If you can ping it by name, the next question I'd ask is: is there a router/firewall between these two computers? (other than the firewall on the server itself). If so, has this router been configured to forward :8080 to the server?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirecting HTTP request to another webserver barunva Linux - Newbie 2 11-02-2008 10:17 PM
A request: please don't reply to topics if you don't know the answer vharishankar General 17 04-10-2006 09:50 PM
apache not taking external request kevsco77 Linux - Newbie 2 01-12-2005 03:13 PM
request reply (sendmail) sqn Linux - Networking 4 12-05-2003 05:12 PM
web request and no reply linuxboy69 Linux - Networking 3 11-20-2003 03:47 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration