homepage Welcome to WebmasterWorld Guest from 54.198.46.115
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
server side socket programming
socket code
Silent Miracle




msg:4320461
 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!

 

CSS_Kidd




msg:4320470
 1:27 pm on Jun 1, 2011 (gmt 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.

Silent Miracle




msg:4320529
 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 ...

CSS_Kidd




msg:4320559
 2:52 pm on Jun 1, 2011 (gmt 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?

Silent Miracle




msg:4320970
 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

CSS_Kidd




msg:4320988
 11:52 am on Jun 2, 2011 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved