WGet from one site on a server to another site on the same server
Posted
by
JoshReedSchramm
on Server Fault
See other posts from Server Fault
or by JoshReedSchramm
Published on 2010-10-26T14:48:08Z
Indexed on
2011/01/15
2:54 UTC
Read the original article
Hit count: 235
Hey all, I've recently been asked to administer a couple ubuntu boxes running web servers. I'm a dev by trade so if this question is fairly noob please forgive.
We have about a dozen sites running on this box. 2 of our sites need to talk back and forth over a restful api. Unfortunately we are having issues with the sited connection to each other via wget. When we try and run wget manually from the command line from the server pointing to a site also on that server it hangs and eventually times out. If we do the same thing from outside the server to the same site on the server it works.
Is there something that could be preventing sites on the same server from communicating with each other? The same thing happens pinging the site from the server.
© Server Fault or respective owner