Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm having some trouble starting Glassfish on port 80 - doing so yields the following error:

0.0.0.0:80: initialize: name or service not known

Any tips?

share|improve this question
add comment

1 Answer

Sounds like the internal host-resolution function (probably C's getaddrinfo) is not able to find the host 0.0.0.0.

Try entering in the exact IP in the configuration file, and re-running.

Usually you will get a Bind error instead, but also check to make sure no other services are using port 80: netstat -l --numeric-ports | grep 80 That is a lowercase L.

share|improve this answer
1  
And to find out which process is using port 80: sudo fuser -v -n tcp 80 –  MikeyB Dec 21 '09 at 18:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.