java.io.IOException: Failed on local exception: java.net.SocketException: Permission denied; Host Details : local host is: "hadoop03.rlpl.com"; destination host is: (unknown):0;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by Daniil Shevelev

The solution is to run as root using sudo or to set different port in application.properties file, e.g.

server.port=${port:8181}

Solutions on the web

via cloudera.com by Unknown author, 1 year ago
Failed on local exception: java.net.SocketException: Permission denied; Host Details : local host is: "hadoop03.rlpl.com"; destination host is: (unknown):0;
via apache.org by Unknown author, 11 months ago
Failed on local exception: java.io.IOException: Connection reset by peer; Host Details : local host is: "slave-02.adcd.infra.corp.gq1.yahoo.com/69.147.96.229"; destination host is: "127.0.0.1":12345;
via Stack Overflow by David Pitchford
, 10 months ago
Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Protocol message tag had invalid wire type.; Host Details : local host is: "MILTON/127.0.1.1"; destination host is: "localhost":9000;
via Stack Overflow by Cherry
, 2 years ago
Failed on local exception: java.net.SocketException: Unresolved address; Host Details : local host is: "Master.Hadoop"; destination host is: (unknown):0;
via Stack Overflow by Rok
, 2 years ago
Failed on local exception: java.net.SocketException: Connection refused; Host Details : local host is: "host1"; destination host is: "host2":8030;
via sqoop-user by Abraham Elmahrek, 6 months ago
Failed on local exception: java.io.EOFException; Host Details : local host is: "localhost/127.0.0.1"; destination host is: "localhost":8020;
java.net.SocketException: Permission denied
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:463)
at sun.nio.ch.Net.bind(Net.java:455)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

Users with the same issue

Once, 1 month ago
2 times, 3 months ago
2 times, 9 months ago
10 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.