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

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

Solutions on the web

via GitHub by ardumont
, 9 months ago
PortForwardingL: local port 127.0.0.1:22231 cannot be bound.
com.jcraft.jsch.JSchException: PortForwardingL: local port 127.0.0.1:22231 cannot be bound.
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:368)
at java.net.ServerSocket.bind(ServerSocket.java:377)
at java.net.ServerSocket.(ServerSocket.java:237)
at com.jcraft.jsch.PortWatcher.(PortWatcher.java:150)
at com.jcraft.jsch.PortWatcher.addPort$2a866d1d(PortWatcher.java:110)
at com.ubergeek42.weechat.relay.connection.SSHConnection.doConnect(SSHConnection.java:4781)
at com.ubergeek42.weechat.relay.connection.AbstractConnection.access$100(AbstractConnection.java:21)
at com.ubergeek42.weechat.relay.connection.AbstractConnection$1.run(AbstractConnection.java:52)
at java.lang.Thread.run(Thread.java:761)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
40 more bugmates

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