curl won't connect my website...
hi,
sorry for this question, i'm pretty sure it sounds quite stupid... but i really can't find how to solve it... i have a script that checks if a directory exists on my web site. if it doesn't it creates it with lftp. the problem is that the command Code:
curl --head "http://www.mywebsite.com/tmp/" i tried and reinstall curl, but nothing happens. the weird thing is i can download any other webpage (i.e. http://www.google.com) but i can't get my web site (that is online, obviously). thanks for your help.... |
Posting the console output would help.
|
i didn't post it because i didn't want to advertise my website... and the issue was only with that site!
anyway, i solved just rebooting the host of the virtual server... now curl works a charm like before... very strange, i'll post if it happens again. thank you, anyway... |
ok, here is what i got after MANY debug attempts...
on my site there is a livechat service. on my laptop i have a script with some wget commands that make me visible by website visitors and alert me if a chat is requested. most of wget commands are executed when the script is launched... chat alert is based on a sigle wget command executed every 30 secs. on my server (which is under the same public ip) i have many scripts that occasionally connect to my website and upload/download some pages. what happens is VERY strange: when the laptop script signs me into the live chat service everything works fine on the laptop, but my website can't be reached on the server. wget, lynx and even firefox won't find it... i.e.: Code:
teo@server:/tmp$ lynx -dump www.li-tech-shop.it this is the login function: Code:
# log in livehelp |
anothe piece of the puzzle:
while wget, lynx and ff fail to connect on server, ping works fine: Code:
teo@server:/tmp$ ping "www.li-tech-shop.it" |
All times are GMT -5. The time now is 12:46 PM. |