GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Help...! Socket Error  XML
Forum Index -> General
Author Message
vansunet



Joined: 12/05/2019 09:03:49
Messages: 1
Offline

I preformed the following operation:

$socket = fsockopen('ws.geonames.org', 80, $errno, $errstr);

And I got the following error:

Warning: fsockopen() [function.fsockopen]: unable to connect to ws.geonames.org:80 (Unknown error)

What am I doing wrong?
marc



Joined: 08/12/2005 07:39:47
Messages: 4154
Offline

please use the api.geonames.org domain.

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team