java.net.BindException: Address already in use at sun.rmi.transport.tcp.TCPTransport.listen(java.rmi@9-internal/TCPTransport.java:335) at sun.rmi.transport.tcp.TCPTransport.exportObject(java.rmi@9-internal/TCPTransport.java:243) at sun.rmi.transport.tcp.TCPEndpoint.exportObject(java.rmi@9-internal/TCPEndpoint.java:411) at sun.rmi.transport.LiveRef.exportObject(java.rmi@9-internal/LiveRef.java:147) at sun.rmi.server.UnicastServerRef.exportObject(java.rmi@9-internal/UnicastServerRef.java:209) at sun.rmi.registry.RegistryImpl.setup(java.rmi@9-internal/RegistryImpl.java:157) at sun.rmi.registry.RegistryImpl.<init>(java.rmi@9-internal/RegistryImpl.java:142) at java.rmi.registry.LocateRegistry.createRegistry(java.rmi@9-internal/LocateRegistry.java:203)

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 JDK Bug System by Amanda Jiang, 1 year ago
Address already in use at sun.rmi.transport.tcp.TCPTransport.listen(java.rmi@9-internal/TCPTransport.java:335) at sun.rmi.transport.tcp.TCPTransport.exportObject(java.rmi@9-internal/TCPTransport.java:243) at
via JDK Bug System by Amanda Jiang, 1 year ago
Address already in use at sun.rmi.transport.tcp.TCPTransport.listen(java.rmi@9-ea/TCPTransport.java:336) at sun.rmi.transport.tcp.TCPTransport.exportObject(java.rmi@9-ea/TCPTransport.java:244) at sun.rmi.transport.tcp.TCPEndpoint.exportObject
java.net.BindException: Address already in use at sun.rmi.transport.tcp.TCPTransport.listen(java.rmi@9-internal/TCPTransport.java:335) at sun.rmi.transport.tcp.TCPTransport.exportObject(java.rmi@9-internal/TCPTransport.java:243) at sun.rmi.transport.tcp.TCPEndpoint.exportObject(java.rmi@9-internal/TCPEndpoint.java:411) at sun.rmi.transport.LiveRef.exportObject(java.rmi@9-internal/LiveRef.java:147) at sun.rmi.server.UnicastServerRef.exportObject(java.rmi@9-internal/UnicastServerRef.java:209) at sun.rmi.registry.RegistryImpl.setup(java.rmi@9-internal/RegistryImpl.java:157) at sun.rmi.registry.RegistryImpl.<init>(java.rmi@9-internal/RegistryImpl.java:142) at java.rmi.registry.LocateRegistry.createRegistry(java.rmi@9-internal/LocateRegistry.java:203)
at undefined.TestLibrary.createRegistryOnUnusedPort(TestLibrary.java:412)
at undefined.MultipleRegistries.main(MultipleRegistries.java:68)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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