Singod Posted April 5, 2009 Share Posted April 5, 2009 Well you see I am making a help site for runescape private server users. I was up all night trying to whip up a simple server status list so people can view whether or not their favorite servers are online and ready for logging in. Port "80" shows online but port "43594" (Default port for servers) is always offline. I check other status lists and the particular server(s) I am adding to my list to test the functionality shows it is online, but on mine, 43594 just simply doesn't want to cooperate. Here is the code I wrote: http://pastebin.com/d707919b1 Here is my work in progress: http://ff7cloud0.ulmb.com/Serverlist.php Can someone fix it or point me in the right direction? I would much appreciate some help w/ this. Never ran into this problem before. Thanks, Singod Link to comment https://forums.phpfreaks.com/topic/152694-i-am-pretty-confused-w-fsockopen/ Share on other sites More sharing options...
corbin Posted April 5, 2009 Share Posted April 5, 2009 If you telnet does it work? Example: telnet <some ip> 43594 Ahh the good old Runescape days.... lol. Link to comment https://forums.phpfreaks.com/topic/152694-i-am-pretty-confused-w-fsockopen/#findComment-801845 Share on other sites More sharing options...
Singod Posted April 5, 2009 Author Share Posted April 5, 2009 Yeah it works I've tested them and pinged them and all the ones I tried adding gave a good response. Link to comment https://forums.phpfreaks.com/topic/152694-i-am-pretty-confused-w-fsockopen/#findComment-801846 Share on other sites More sharing options...
Singod Posted April 5, 2009 Author Share Posted April 5, 2009 So do you know what I am doing wrong or what? Link to comment https://forums.phpfreaks.com/topic/152694-i-am-pretty-confused-w-fsockopen/#findComment-801852 Share on other sites More sharing options...
corbin Posted April 5, 2009 Share Posted April 5, 2009 Hrmmm.... I would think that fsockopen might be disabled on your host, but if it works with 80, that wouldn't be it. Perhaps your host has firewall rules setup so that only port 80 can go out or something. When ever you do fsockopen and it fails, try echoing out the $errstr variable and see what it says. Link to comment https://forums.phpfreaks.com/topic/152694-i-am-pretty-confused-w-fsockopen/#findComment-801856 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.