[OSM-dev] Trying to upload data using API

Frederik Ramm frederik at remote.org
Wed Oct 15 07:12:57 BST 2008


Hi,

sagar anand wrote:
> => Rails application started on *http://0.0.0.0:3000*
> => Ctrl-C to shutdown server; call with --help for options
> [2008-10-13 17:26:41] INFO  WEBrick 1.3.1
> [2008-10-13 17:26:41] INFO  ruby 1.8.6 (2008-08-11) [i386-linux]
> [2008-10-13 17:26:41] INFO  WEBrick::HTTPServer#start: pid=28627 port=3000
> 
> I dont understand why it gives out http://0.0.0.0. I checked the 
> database.yml file and hostname for the development environment is set to 
> localhost with the correct username and password.

Is probalby not a problem - 0.0.0.0 would indicate it is listening for 
connections from anyone, not just localhost, but unless there are evil 
people in your network, that's ok.

> I still cannot access http://localhost. It cant connect.

You will need to add the port: http://localhost:3000/api/0.5/node/1

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"




More information about the dev mailing list