netstat -an | grep 1935Īfter performing all the above tasks, NGINX with RTMP is up and running. To see if NGINX is now listening on port 1935 for RTMP, you can use netstat. This should restart NGINX and show no errors. Start NGINX with RTMP sudo systemctl stop rvice Add the following line at the top of the file to load the above created nf file. Change nf to load the above created nf file. sudo vim nfĮnable RTMP configuration in NGINX. This is the URL RTMP clients will connect to. The configuration will make RTMP listen on port 1935 and expose a RTMP URL named live. In this file will contain the RTMP server configuration. Enable RTMPĬreate file nf in /etc/nginx/. Status so far: NGINX is installed and running. Here the local server is configured to listen on port 80.ĭeleting this symlink in sites-enabled will deactivate the localhost server and NGINX will start, as it now no longer tries to start a server on port 80 (that is already in use by Apache).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |