How to check if port 1129 is enabled?
I am using the fistdata global api, I got the sample code in php. When I run that code i got an error message
Failure could not connect
I want to know is port 1129 is enable or 开发者_如何学Pythonnot in my site. How this possible?
$fp = @fsockopen($url,$port,$errno,$errstr,2);
if(!$fp)
{
echo "Close.</br>";
}
else{
echo "Open.</br>";
fclose($fp);
}
Try this online port scanner.
精彩评论