java.net.SocketException: Permission denied

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 vuze.com by Unknown author, 1 year ago
via Google Groups by Joy Xiong, 1 year ago
via blogspot.com by Unknown author, 1 year ago
Permission denied
java.net.SocketException: Permission denied
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.Net.bind(Net.java:428)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at com.aelitis.azureus.core.networkmanager.impl.tcp.VirtualBlockingServerChannelSelector.start(VirtualBlockingServerChannelSelector.java:80)
at com.aelitis.azureus.core.networkmanager.impl.tcp.IncomingSocketChannelManager.start(IncomingSocketChannelManager.java:423)
at com.aelitis.azureus.core.networkmanager.impl.tcp.IncomingSocketChannelManager.restart(IncomingSocketChannelManager.java:499)
at com.aelitis.azureus.core.networkmanager.impl.tcp.IncomingSocketChannelManager.access$200(IncomingSocketChannelManager.java:66)
at com.aelitis.azureus.core.networkmanager.impl.tcp.IncomingSocketChannelManager$1.parameterChanged(IncomingSocketChannelManager.java:108)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.notifyParameterListeners(ConfigurationManager.java:1071)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.notifyParameterListenersIfChanged(ConfigurationManager.java:786)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.setParameter(ConfigurationManager.java:574)
at org.gudy.azureus2.core3.config.COConfigurationManager.setParameter(COConfigurationManager.java:349)
at org.gudy.azureus2.ui.swt.config.ConfigParameterAdapter.setIntValue(ConfigParameterAdapter.java:105)
at org.gudy.azureus2.ui.swt.config.generic.GenericIntParameter$1$1.runSupport(GenericIntParameter.java:96)
at org.gudy.azureus2.core3.util.AERunnable.run(AERunnable.java:38)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3715)

Users with the same issue

10 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago

Write tip

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