On Jul 31, 1:33 pm, almarjin <[email protected]> wrote:
> console.log('%s listening at %s', server.name, server.url);
> [...]
> restify listening at http://undefined:undefined

It's not server.name that is undefined (it's "restify"), but the
content of server.url. I ran your sample code and it showed up for me
on my Windows machine on node 0.8.4.

What shows up in your log if you insert this statement right after the
other console.log statement from above?:
console.log('net.Server.address() === ' +
require('util').inspect(server.server.address()));

Also, what node version is being used here?

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to