Error starting Apach James after installation

46 Views Asked by At

Apache James was not running after starting James Spring a few seconds../james start

Error log on wrapper.log:

Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:465

And:

Caused by: java.net.SocketException: Permission denied

Is this a firewall problem?

2

There are 2 best solutions below

0
On

You can't bind to ports lower than 1024 without running as root. There are some way to go around this. Is there a way for non-root processes to bind to "privileged" ports on Linux? .

1
On

Adding sudo as prefix of command helps me. It works like a charm.