|
|
|
|
#1 |
|
Junior Member
Join Date: Oct 2005
Posts: 20
|
Cannot get the details - ShoutCast
Hi guys,
I'm having a problem getting the info from shoutcast server. Actually SC server works just fine.. I'm able to connect, play songs and all on my linux server, PHP grabs the info and shows normally, songname, bitrates, listeners etc.. this FAILS when I try to do with some other server, I've tried to upload the same files and tried on the other server, and it doesn't work.. says: Warning: fsockopen(): unable to connect to 21x.xxx.xxx.xx:9000 in /home/mxb/public_html/radio/parse.php on line 7 what could be the problem? pls lend me a hand on this one, thanks. |
|
|
|
|
|
#2 |
|
Forum King
|
My guess would be the webserver you uploaded the files to does not support outbound fsock connections which many cheap webhosts do not. As the server does not support that outbound connection to your server the script will not work and will display this type of error.
Megarock Radio - St. Louis Since 1998! Don't click this link! Corporate Radio Sucks! No suits, all rock! |
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: Oct 2005
Posts: 20
|
Quote:
I've checked out some other function using the fsock php command on that same webserver, it works just fine.. so that isn't the problem, but then what is? |
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
|
are you absolutely sure you have the correct IP address pluged into the config files???
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Oct 2005
Posts: 20
|
yes, I'm 100% sure, else it wouldn't work on my server on the 1st place.
|
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Oct 2005
Posts: 20
|
with the same settings MediaPlayer plugin for FF works, but getting details fails.. no idea why.. it's strange, does it have anything to do with the shoutcast server? I'm puzzled.
|
|
|
|
|
|
#7 |
|
Moderator
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
|
it probably has little to do with the SHOUTcast server; all that does is send music out for you ...
|
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Oct 2005
Posts: 20
|
I thought the same too, but I wanted to make sure..
The radio is working just fine on server 1, where the SC is running. The same script faild to run on a webserver. What could be the problem?
|
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Oct 2005
Posts: 20
|
sorry.. here is a screenshot
|
|
|
|
|
|
#10 |
|
Moderator
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
|
hmmmmmmmm .... are you broadcasting two streams from the same server and trying to get stats on both the streams??? If yes, then what about the port number that the script is erroring on.... is that indeed correct? Is some other process using that port causing that error? You may wanyt to look into a port scanner and see what is going on...
|
|
|
|
|
|
#11 | |
|
Junior Member
Join Date: Oct 2005
Posts: 20
|
Quote:
|
|
|
|
|
|
|
#12 | |
|
Junior Member
Join Date: Oct 2005
Posts: 20
|
Quote:
I've look at the port.. in the unix system, the results are following... code: |
|
|
|
|
|
|
#13 |
|
Moderator
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
|
whelp ... I am outta my huhu here.
Everything looks fine to me. If anyone else has any ideas ... now would be the time... |
|
|
|
|
|
#14 |
|
Junior Member
Join Date: Oct 2005
Posts: 20
|
thankyou for trying fc..k,
I need help.. anyone? |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|