syanhs Posted September 1, 2015 Share Posted September 1, 2015 I'm trying to get the current status of my radio, but php always gives error. Appears:Warning: fsockopen () [function. fsockopen]: unable to connect to ... (Connection timed out) in ... on line ...Connection Refused.I have tested this code in another host and it results. It's a problem of host or am I doing something wrong? Quote Link to comment Share on other sites More sharing options...
wolstech Posted September 1, 2015 Share Posted September 1, 2015 We don't allow connections (in or out) on non-standard ports, so odds are our firewall is intentionally preventing that connection. What are you connecting to? Quote Link to comment Share on other sites More sharing options...
syanhs Posted September 1, 2015 Author Share Posted September 1, 2015 I am trying to connect my web radio there, to see what song is currently playing, etc... Quote Link to comment Share on other sites More sharing options...
wolstech Posted September 1, 2015 Share Posted September 1, 2015 What port number? If it's not on a common web port (e.g. 21, 80, 443, etc.), it won't work. You would need to change the port used by the radio server to something we allow. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.