Welcome to WebmasterWorld Guest from 50.19.0.90

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

server side socket programming

socket code

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

New User

joined:May 6, 2011
posts: 25
votes: 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 June 1, 2011 (gmt 0)

Full Member

5+ Year Member

joined:Mar 3, 2009
posts: 227
votes: 0


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.
2:15 pm on June 1, 2011 (gmt 0)

New User

joined:May 6, 2011
posts: 25
votes: 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 June 1, 2011 (gmt 0)

Full Member

5+ Year Member

joined:Mar 3, 2009
posts: 227
votes: 0


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?
11:29 am on June 2, 2011 (gmt 0)

New User

joined:May 6, 2011
posts: 25
votes: 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 June 2, 2011 (gmt 0)

Full Member

5+ Year Member

joined:Mar 3, 2009
posts: 227
votes: 0


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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members