Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-14-2005, 12:24 AM
|
#1
|
LQ Newbie
Registered: Jan 2005
Posts: 7
Rep:
|
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.
|
|
|
01-14-2005, 03:02 AM
|
#2
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
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
|
|
|
01-14-2005, 03:16 AM
|
#3
|
Member
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541
Rep:
|
whatīs in ur /httpd/access.log?
|
|
|
01-14-2005, 09:55 PM
|
#4
|
LQ Newbie
Registered: Jan 2005
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
01-15-2005, 12:17 PM
|
#5
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
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?
|
|
|
01-15-2005, 02:30 PM
|
#6
|
LQ Newbie
Registered: Jan 2005
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
01-15-2005, 03:11 PM
|
#7
|
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380
Rep:
|
If the network was the problem then you wouldn't be able to use samba so there must be something wrong with the httpd
|
|
|
01-15-2005, 08:22 PM
|
#8
|
LQ Newbie
Registered: Jan 2005
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
01-15-2005, 10:09 PM
|
#9
|
LQ Newbie
Registered: Jan 2005
Posts: 7
Original Poster
Rep:
|
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"?
|
|
|
01-16-2005, 11:00 AM
|
#10
|
Member
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541
Rep:
|
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?!
|
|
|
All times are GMT -5. The time now is 05:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|