The connection has timed out The server at <ip address> is taking too long to respond
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
The connection has timed out The server at <ip address> is taking too long to respond
Dear Linux Users,
I installed a software program called Galaxy on my server.
I started up the Galaxy server process.
When I open FIrefox on the server and type in the following into the address bar the program starts successfully.
http://<ip address>:8080
However, when I open up Firefox on my PC and type in the exact same address, i get the following error
"The connection has timed out The server at <ip address> is taking too long to respond"
I contacted the Galaxy people and they said there is nothing wrong with their software, it is a server issue.
From my PC, I can ping the server and I can access my webpage.
I'm sure it is something simple.
Any advice would be greatly appreciated.
Yes, my webpage is on the same server as the Galaxy software and I can access the webpage from any PC.
Here is the webpage: http://shenlab.sols.unlv.edu/shenlab/
I can only run the Galaxy software when I am in the server room and logged directly onto the server.
I can't believe I didn't ask this earlier, but what distro are you running? Posting the output of "/etc/*release*", as chrism suggested, would help in that.
WHOOOOT!!!!
Now we are getting somewhere.
I entered the following commands to turn off the firewall
$ sudo /etc/init.d/iptables save
$ sudo /etc/init.d/iptables stop
Then voila!!! I can access the server from my PC.
Then when I entered the following command to turn the firewall back on
$ sudo /etc/init.d/iptables start
the shirt hit the fan and I got the "Connection has timed out" error.
So how do I set the firewall to allow access to the server?
The firewall rules are stored in /etc/sysconfig/iptables.
You should back that up, then edit it.
The problem I think you have is that you used -A = append to the input chain, but this rule
would precede it and its REJECTing all(!) protocols.
Actually, I prefer to use the fail secure method of setting the INPUT chain Policy of DROP instead; that way any pkt not specifically matched by a rule is DROPped.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.