472,127 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

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 2472

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.