Can't get my http server to respond to requests...
Linux - NetworkingThis 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.
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.
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.
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
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.
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.
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.
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.
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"?
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?!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.