java.net.BindException: Address already in use

Atlassian JIRA | James Dumay [Atlassian] | 5 years ago
  1. 0

    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}

    Atlassian JIRA | 5 years ago | James Dumay [Atlassian]
    java.net.BindException: Address already in use
  2. 0

    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}

    Atlassian JIRA | 5 years ago | James Dumay [Atlassian]
    java.net.BindException: Address already in use
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    blmigration_mgr start up error | BMC Communities

    bmc.com | 2 years ago
    java.net.BindException: Address already in use

  1. mauritius 3 times, last 7 months ago
1 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
    DefaultServerSocketFactory.createServerSocket
    1. java.net.PlainSocketImpl.socketBind(Native Method)
    2. java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
    3. java.net.ServerSocket.bind(ServerSocket.java:328)
    4. java.net.ServerSocket.<init>(ServerSocket.java:194)
    5. java.net.ServerSocket.<init>(ServerSocket.java:106)
    6. javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:157)
    6 frames
  3. com.atlassian.tunnel
    TunnelAcceptor.run
    1. com.atlassian.tunnel.tunnel.server.TunnelAcceptor.run(TunnelAcceptor.java:93)
    1 frame
  4. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:662)
    3 frames