Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

server side socket programming

socket code


Silent Miracle

1:19 pm on Jun 1, 2011 (gmt 0)

hello ... i have been assigned a live ip for setting up a server. what i am trying to do is to receive data at my server. I am using port 5905. But i am getting an error that "socket_bind():could not bind.address already in use" i dnt know where i am going wrong..please help me with this!


1:27 pm on Jun 1, 2011 (gmt 0)

5+ Year Member

Is this a Linux machine? Last time I got that error message, it was because of a previous MySQL configuration. There are other causes for this as well.

Silent Miracle

2:15 pm on Jun 1, 2011 (gmt 0)

yes ! m establishing a linux based server . using php mysql and apache ... and live ip and using a random port to receive data from a gprs module at my server. But m getting this error ...


2:52 pm on Jun 1, 2011 (gmt 0)

5+ Year Member

Like I said when I got this error, and did some searching on some Linux forums, I discovered that I had two MySQL configurations. It was because I had set my server by individually installing PHP, MySQL and Apache... Then forgot about it and installed LAMP. I was using Ubuntu, and I found there forums to be a bit helpful.

But this was what my issue was, so this is all I know. I am sure there could be other things causing this. Anyone else want to throw in?

Silent Miracle

11:29 am on Jun 2, 2011 (gmt 0)

do u have any idea how can i free port of my server ? like how to kill a process on port 5905 and make it free and then use this port


11:52 am on Jun 2, 2011 (gmt 0)

5+ Year Member

That is way out of my expertise. But I did a Google search using the query "kill a process on port 5905 linux" and found many results that should help.

This subject might be close to being out of context with this sites forums. I feel like I am being rude, but this answer may be better answered else where. Sorry.

Featured Threads

Hot Threads This Week

Hot Threads This Month