java.net.SocketException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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

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

  • problem enable gerrit for https
    via by Joy Xiong,
  • OpenShift deployment
    via by Maarten Mulders,
  • Cant start tomcat with spring boot on linux
    via Stack Overflow by Idob
    ,
  • WebSockets on DIY cartridge on OpenShift
    via Stack Overflow by Serban
    ,
  • Exception when starting tomcat with user account
    via by Unknown author,
    • java.net.SocketException: Permission denied at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)

    Users with the same issue

    Dunmer
    2 times, last one,
    Handemelindo
    10 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    5 more bugmates