0

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?

Izzy
  • 8,224
  • 2
  • 31
  • 35

1 Answers1

1

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.

HalfBrian
  • 155
  • 1
  • 6