469,128 Members | 1,559 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,128 developers. It's quick & easy.

java.net.bindException: address already in use: connect

Hi!

I am using:
Java 2 SDK 1.4.0 Standard Edition on Windows XP

I have one java client application and one gateway that is in C language runing on the same machine.
The server creates a ServerSocket and starts lisening for connections

The client creates a socket to the server.
while i running the client(java) program it gives the following error message.


java.net.BindException: Address already in use: connect
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:295)
java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:161)
java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:148)
java.net.Socket.connect(Socket.java:425)
java.net.Socket.connect(Socket.java:375)
could please any one help me.
Mar 1 '07 #1
0 2293

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by roda | last post: by
reply views Thread by anaik100 | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.