com.jcraft.jsch.JSchException: PortForwardingL: local port 127.0.0.1:22231 cannot be bound.

GitHub | ardumont | 1 week ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 59#279159051

    GitHub | 1 week ago | ardumont
    com.jcraft.jsch.JSchException: PortForwardingL: local port 127.0.0.1:22231 cannot be bound.
  2. 0

    jsch :- java.lang.NoClassDefFoundError: Could not initialize class com.jcraft.jsch.PortWatcher

    Stack Overflow | 3 months ago | user2587669
    java.lang.NoClassDefFoundError: Could not initialize class com.jcraft.jsch.PortWatcher
  3. 0

    Repeated NullPointerExceptions

    GitHub | 5 months ago | dtaylor84
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String[] java.lang.String.split(java.lang.String)' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash during/after Connection

    GitHub | 4 months ago | genofire
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String[] java.lang.String.split(java.lang.String)' on a null object reference
  6. 0

    ssh,network-programming,server,jsch,public-key-exchange , SSH connection problems in JSch

    databasefaq.com | 1 year ago
    com.jcraft.jsch.JSchException: Algorithm negotiation fail

  1. iridic 1 times, last 3 months ago
  2. linxiaolong 1 times, last 6 months ago
  3. jedcua 1 times, last 6 months ago
  4. Justin 2 times, last 7 months ago
26 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.BindException

    Address already in use

    at java.net.PlainSocketImpl.socketBind()
  2. Java RT
    ServerSocket.<init>
    1. java.net.PlainSocketImpl.socketBind(Native Method)
    2. java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:368)
    3. java.net.ServerSocket.bind(ServerSocket.java:377)
    4. java.net.ServerSocket.<init>(ServerSocket.java:237)
    4 frames
  3. JSch
    Session.setPortForwardingL
    1. com.jcraft.jsch.PortWatcher.<init>(PortWatcher.java:150)
    2. com.jcraft.jsch.PortWatcher.addPort$2a866d1d(PortWatcher.java:110)
    3. com.jcraft.jsch.Session.setPortForwardingL(Session.java:1798)
    3 frames
  4. com.ubergeek42.weechat
    AbstractConnection$1.run
    1. com.ubergeek42.weechat.relay.connection.SSHConnection.doConnect(SSHConnection.java:4781)
    2. com.ubergeek42.weechat.relay.connection.AbstractConnection.access$100(AbstractConnection.java:21)
    3. com.ubergeek42.weechat.relay.connection.AbstractConnection$1.run(AbstractConnection.java:52)
    3 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:761)
    1 frame