Welcome! Log In Create A New Profile

Advanced

Connection timed out NOHOST

Posted by setwise 
Connection timed out NOHOST
March 14, 2011 05:36PM
I just installed Sphider to test it out but can not get the site indexed. The indexing runs but returns with "Connection timed out NOHOST". There are not spaces in my url (as searched in this forum), but I am using an IP address only at this point (Ex: [111.111.111.111]). Could an IP address usage create this problem? I am running sphider on the same server/domain that I am trying to index. Thanks.
Server Settings
March 14, 2011 10:04PM
If there are any server settings (apache, php.ini, .htaccess, etc.) that I should check out, any tips for likely culprits would be appreciated. Thanks again.
Re: Server Settings
March 14, 2011 10:19PM
Try 127.0.0.1 or localhost instead of the server-ip.
Re: Server Settings
March 14, 2011 10:55PM
For reference the IP address is how I am accessing the site and Sphider through the browser. But I did try entering 27.0.0.1. The index completed with a single page and no links Size of page: 3.89kb. Some sort of default or error page....not the site.
Re: Server Settings
March 15, 2011 10:05AM
Try 127.0.0.1/index.php if you have an index page with extension .php else you replace .php with the extension of your index.
Re: Server Settings
March 15, 2011 04:32PM
index.php is the homepage. I tried adding that to both the 127.0.0.1 and the real ip address with no real results. 127.0.0.1 found some sort of server default or warning page. Real ip address found nothing. I am starting think it is some sort of server setting or firewall issue.
Re: Connection timed out NOHOST
March 15, 2011 06:20PM
OK I confirmed with our host. I had to use the the server internal ip address for the search, since the server is inside the firewall. This means all the search result links are broken since they are now showing the internal ip address, but once we go live with the domain I think it will all work out. Thanks.
Re: Connection timed out NOHOST
March 16, 2011 12:24AM
Glad you discovered where the problem lies, now you can stop breaking your head on this.winking smiley
jai
Re: Connection timed out NOHOST
July 25, 2011 06:59PM
Error:Access denied for user 'vhostswww'@'localhost' (using password: NO) when i give my host ip address
Error:Access denied for user 'vhostswww'@'localhost' (using password: NO) when i give my server service provider ip address
Error: when i give $mysql_host = "localhost"; ,its not sphidering any website saying"
[Back to admin]
Spidering www.gmail.com
1. Retrieving: www.gmail.com at 15:58:45.
NOHOST
Links found: 0. New links: 0

Completed at 15:58:45.
"
please any one can suggest me......
thanks in advance
sorry for my English........
Re: NOHOST
June 02, 2012 04:58AM
If you want to use sphider to search your local machine:

Note well that sphider uses PHP's fsockopen() to access web pages.

This function does NOT recognize "localhost" as a replacement for "127.0.0.1".

So if you want to run sphider locally, you have to use the actual IP address for the local computer, and not the "localhost" alias that works with most browsers and web servers.

I am brand new to sphider, and got very discouraged when I couldn't use it to search my own local files (most of which are in the DocumentRoot of my Apache server). But when I made this change to the URLs in the admin section of sphider, I got very nice results. I was going to create my own search app, but now I think I will see what sphider can do first.

"Be competent." - LRH
Re: Connection timed out NOHOST
June 02, 2012 06:39AM
Also to note on this error message.
i have a custom firewall, and i have noticed that it has temperaly ban some ips of the sites i index.
It's due to the amount of connections i allow.
To fix my issue i just remove the blocked ip that belongs to the site in question, and add it to a whitelist.
Perhaps this is the issue in some peoples case.
Sorry, only registered users may post in this forum.

Click here to login