Hi
I've been playng with a php script that shows if a particular port is open on my home server
One of the ports is to show if my ftp server is online or not. I've got the ftp to listen on a port other than the default 21
Now the php script works like a charm on my home apache set up and shows that the port is open (for this test it's set as 62555)
but if i try it on my external website is shows that the ftp is offline, the port is definately open to the outside world as i tested it with this http://www.g6ftpserver.com/en/ftptest and my mates can access it without any problems
can anyone shed any light as to why it doesn't show as online on the external website? do webhosts normally block scripts from checking random ports like this (tried it with other random ports aswell such as 2121)
i also tried it on another website hosted elsewhere as well as different php scripts and it does the same.
the whole thing works fine on the default port of 21 aswell but don't want to use that port although i have enabled it for the purpose of this thread
Here are the examples to show you what i mean. the first link is to my home server and the second is to my external site hosted with vidahost
http://tempurl.thruhere.net/
http://www.darren-s.co.uk/monitor/
I hope this all makes sense and any help appreciated
I've been playng with a php script that shows if a particular port is open on my home server
One of the ports is to show if my ftp server is online or not. I've got the ftp to listen on a port other than the default 21
Now the php script works like a charm on my home apache set up and shows that the port is open (for this test it's set as 62555)
but if i try it on my external website is shows that the ftp is offline, the port is definately open to the outside world as i tested it with this http://www.g6ftpserver.com/en/ftptest and my mates can access it without any problems
can anyone shed any light as to why it doesn't show as online on the external website? do webhosts normally block scripts from checking random ports like this (tried it with other random ports aswell such as 2121)
i also tried it on another website hosted elsewhere as well as different php scripts and it does the same.
the whole thing works fine on the default port of 21 aswell but don't want to use that port although i have enabled it for the purpose of this thread
Here are the examples to show you what i mean. the first link is to my home server and the second is to my external site hosted with vidahost
http://tempurl.thruhere.net/
http://www.darren-s.co.uk/monitor/
I hope this all makes sense and any help appreciated
