Fatal error: Uncaught ValueError: socket_connect(): Argument #3 ($port) cannot be null when the socket type is AF_INET in /home/pi/www/rtsp_1/rtsp-test.php:7 Stack trace: #0 /home/pi/www/rtsp_1/rtsp-test.php(7): socket_connect() #1 /home/pi/www/rtsp_1/rtsp-test.php(43): is_working() #2 {main} thrown in /home/pi/www/rtsp_1/rtsp-test.php on line 7