LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-14-2005, 12:24 AM   #1
garydamm
LQ Newbie
 
Registered: Jan 2005
Posts: 7

Rep: Reputation: Disabled
Can't get my http server to respond to requests...


I am running Mandrake 10.1 and Resin 3.0. I can hit the server from the machine it is running on but the other machine on my LAN (Windows XP) times out when I hit the same URL. I have tried messing with firewall settings and even turning off the firewall (shorewall 2.0) to see if that was the problem but still no luck.

I also have problems with samba and ping when the firewall is on even though I've set rules to allow them.

I do not get anything is the web access log so it appears to be a networking issue but I'm new to linux and don't know what to try next. I am starting to pull out hair, please help.
 
Old 01-14-2005, 03:02 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Could be a problem in the configuration of httpd. Make sure it is listening on port 80 in the config file. If you do not have name resolution on the system then address the server using it's ip address i.e. for example http://192.168.0.1
 
Old 01-14-2005, 03:16 AM   #3
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
whatīs in ur /httpd/access.log?
 
Old 01-14-2005, 09:55 PM   #4
garydamm
LQ Newbie
 
Registered: Jan 2005
Posts: 7

Original Poster
Rep: Reputation: Disabled
The server is configured to listen on port 8080. So when i make a request I put http://192.168.1.100:8080. This works on the machine running the server but not on the XP machine on my LAN. But from the XP machine I can ping and use samba on the linux box.

The access log posts the requests that I make from the linux machine but when I try the XP machine it posts nothing to the access log. I don't believe the request is ever getting to the http server but I don't understand why.

One other thing. Does anyone know what the /var/lock/subsys directory is for? There is a blank httpd file in there.
 
Old 01-15-2005, 12:17 PM   #5
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally posted by garydamm
The server is configured to listen on port 8080. So when i make a request I put http://192.168.1.100:8080. This works on the machine running the server but not on the XP machine on my LAN. But from the XP machine I can ping and use samba on the linux box.

Is this situation with the firewall disabled?
 
Old 01-15-2005, 02:30 PM   #6
garydamm
LQ Newbie
 
Registered: Jan 2005
Posts: 7

Original Poster
Rep: Reputation: Disabled
Yes, this is with the firewall disabled. I also added a rule to the firewall to allow port 8080 requests. But whether it is on or not it doesn't work. I suspect this is a networking issue with the linux box but I can't figure out what it is.

Another note. I installed Resin 3.0 on the XP box and I can make requests to it from the linux box no problem.
 
Old 01-15-2005, 03:11 PM   #7
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
If the network was the problem then you wouldn't be able to use samba so there must be something wrong with the httpd
 
Old 01-15-2005, 08:22 PM   #8
garydamm
LQ Newbie
 
Registered: Jan 2005
Posts: 7

Original Poster
Rep: Reputation: Disabled
When you say httpd do you mean Resin or is there something else I should be looking at? I walked through the Resin installation and configuration twice. I can get Resin to respond when the request is from the linux machine, just not from the XP machine on the LAN.
 
Old 01-15-2005, 10:09 PM   #9
garydamm
LQ Newbie
 
Registered: Jan 2005
Posts: 7

Original Poster
Rep: Reputation: Disabled
Another note here. I just did a netstat -ta (digging deeper into networking). I do not see my http server listening. I do see my samba server. Should I see the http server here? If so how so I get it to "register"?
 
Old 01-16-2005, 11:00 AM   #10
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
yes, normally u shoud see the http-daemon!
I donīt know the Resin-config (Iīm sorry...is it a webserver?), but perhaps thereīs an entry which restricts the access by IP-range or something similar?!
 
  


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
Apache doesn't respond png requests from a remote host. glitchful Linux - Software 3 09-02-2005 10:58 AM
Newbie: Trouble configuring http to respond to outside requests garydamm Linux - Networking 2 01-12-2005 12:32 PM
Help! (I'm getting flooded with http requests) rknoesel Mandriva 6 11-14-2004 06:57 PM
capture http requests at squid ssharma_02 Linux - Networking 1 09-26-2004 10:04 AM
log full, raw http requests chr15t0 Linux - General 0 01-03-2003 05:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration