hudson.util.HudsonFailedToLoad

java.net.SocketException: Permiso denegado

Samebug tips1

The solution is to run as root using sudo or to set different port in "application.properties" file, e.g. server.port=${port:8181}

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Stack trace

  • hudson.util.HudsonFailedToLoad: java.net.SocketException: Permiso denegado at hudson.WebAppMain$3.run(WebAppMain.java:244) Caused by: java.net.SocketException: Permiso denegado at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67) at hudson.TcpSlaveAgentListener.<init>(TcpSlaveAgentListener.java:92) at jenkins.model.Jenkins.launchTcpSlaveAgentListener(Jenkins.java:1191) at jenkins.model.Jenkins.<init>(Jenkins.java:929) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:227)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 3 months ago
10 times, 7 months ago
Unknown user
Once, 9 months ago
Unknown user
Once, 1 year ago
Unknown user
Once, 1 year ago
5 more bugmates