LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-11-2009, 04:59 AM   #1
ziba
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
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,224

Rep: Reputation: 132Reputation: 132
yes, check your iptable port 8080 allowed or not
 
Old 05-11-2009, 07:35 AM   #3
Igby
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
chitambira
Member
 
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 49
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
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
Quote:
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 bobserver.domain.com? 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?
 
  


Reply


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


All times are GMT -5. The time now is 12:04 PM.

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