java.net.BindException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • This randomly occurred while smoke testing for one agent {noformat} 0 [main] INFO com.atlassian.bamboo.agent.elastic.client.ElasticAgentBootstrap - Starting Agent Bootstrap using Java 1.6.0_26 from Sun Microsystems Inc. 1236 [main] INFO com.atlassian.bamboo.agent.elastic.client.ElasticAgentBootstrap - Using tunnelling. Registering 'httpt' and 'httpst' protocols. 1870 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer - [com.atlassian.tunnel.tunnel.server.TunnelServer] Waiting for tunnel connection. 1870 [tunnellogger-thread] INFO com.atlassian.tunnel.logger.LocklessLogger - [tunnellogger-thread] Logging system is operating in a lockless mode 3821 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer - [com.atlassian.tunnel.tunnel.server.TunnelServer] Accepted tunnel connection. 3821 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer - [com.atlassian.tunnel.tunnel.server.TunnelServer] Waiting for tunnel connection. 3821 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer - [com.atlassian.tunnel.tunnel.server.TunnelServer] Accepted tunnel connection. 3822 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer - [com.atlassian.tunnel.tunnel.server.TunnelServer] Waiting for tunnel connection. 4443 [tunnellogger-thread] ERROR com.atlassian.tunnel.tunnel.server.TunnelAcceptor - [tunnelserver-26224-1-thread-2] Error while accepting tunnel connections. java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.<init>(ServerSocket.java:194) at java.net.ServerSocket.<init>(ServerSocket.java:106) at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:157) at com.atlassian.tunnel.tunnel.server.TunnelAcceptor.run(TunnelAcceptor.java:93) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 4448 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.LocalAcceptor - [tunnelserver-26224-1-thread-3] Waiting for local connection on port 4527. {noformat}
    via by James Dumay [Atlassian],
  • This randomly occurred while smoke testing for one agent {noformat} 0 [main] INFO com.atlassian.bamboo.agent.elastic.client.ElasticAgentBootstrap - Starting Agent Bootstrap using Java 1.6.0_26 from Sun Microsystems Inc. 1236 [main] INFO com.atlassian.bamboo.agent.elastic.client.ElasticAgentBootstrap - Using tunnelling. Registering 'httpt' and 'httpst' protocols. 1870 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer - [com.atlassian.tunnel.tunnel.server.TunnelServer] Waiting for tunnel connection. 1870 [tunnellogger-thread] INFO com.atlassian.tunnel.logger.LocklessLogger - [tunnellogger-thread] Logging system is operating in a lockless mode 3821 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer - [com.atlassian.tunnel.tunnel.server.TunnelServer] Accepted tunnel connection. 3821 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer - [com.atlassian.tunnel.tunnel.server.TunnelServer] Waiting for tunnel connection. 3821 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer - [com.atlassian.tunnel.tunnel.server.TunnelServer] Accepted tunnel connection. 3822 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.TunnelServer - [com.atlassian.tunnel.tunnel.server.TunnelServer] Waiting for tunnel connection. 4443 [tunnellogger-thread] ERROR com.atlassian.tunnel.tunnel.server.TunnelAcceptor - [tunnelserver-26224-1-thread-2] Error while accepting tunnel connections. java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.<init>(ServerSocket.java:194) at java.net.ServerSocket.<init>(ServerSocket.java:106) at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:157) at com.atlassian.tunnel.tunnel.server.TunnelAcceptor.run(TunnelAcceptor.java:93) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 4448 [tunnellogger-thread] INFO com.atlassian.tunnel.tunnel.server.LocalAcceptor - [tunnelserver-26224-1-thread-3] Waiting for local connection on port 4527. {noformat}
    via by James Dumay [Atlassian],
  • blmigration_mgr start up error | BMC Communities
    via by Unknown author,
    • java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.<init>(ServerSocket.java:194) at java.net.ServerSocket.<init>(ServerSocket.java:106) at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:157) at com.atlassian.tunnel.tunnel.server.TunnelAcceptor.run(TunnelAcceptor.java:93) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Users with the same issue

    mauritiusmauritius
    3 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown UserUnknown User
    11 times, last one,
    VRGVRG
    1 times, last one,
    AlebeyAlebey
    1 times, last one,
    23 more bugmates