java.net.SocketException

Permission denied* *java.net.SocketException: Permission denied*

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.

Solutions on the web738

  • via Google Groups by Scott Duensing, 6 months ago
    Permission denied* *java.net.SocketException: Permission denied*
  • java.net.SocketException: Permission denied: connect
  • java.net.SocketException: Permission denied: connect
  • Stack trace

    • java.net.SocketException: Permission denied* *java.net.SocketException: Permission denied* at sun.nio.ch.Net.bind0(Native Method)

    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, 11 months ago
    Unknown user
    Once, 1 year ago
    5 more bugmates