PDA

View Full Version : php - fsocket - open Port?


SA86
02-11-2006, 07:21 AM
I am running a php script(uses fsocket) on my web account with bluehost to parse an xml document that is produced via a SHOUTCast server which is hosted on my local machine.

Currently I am having to use port 43, since its not currently blocked, although this port works, I do not wish to use it for my querying purposes.

So my question is, what ports are open and availiable for use?

2notch
02-11-2006, 08:12 AM
I haven't tried this on a Bluehost machine but if you have ssh access, do a "netstat -l" (that's "l" as in listen) . It will show you the listening ports. Just use something else, preferably higher than 1024.

2

lazynitwit
02-11-2006, 12:15 PM
Most ports are blocked with few exceptions, you need to get a dedicated IP to be allowed to access other ports.

http://helpdesk.bluehost.com/kb/index.php?x=&mod_id=2&root=17&id=174

WFZR.net
05-11-2006, 09:42 AM
ok - this is exactly what i'm asking about - - i have the dedicated IP - - now what??

WFZR.net
05-11-2006, 12:24 PM
no one has any comments on this? - - I got a dedicated IP just for this reason. Can someone please tell me what the next step is.