Ports

Ports

Maher asked 8 years ago
Hi,  Please could you help me to search how to check the occupied ports on Evostream server, (command line ? log files ?) Best regards,



3 Answers
erika Staff answered 8 years ago
Hello Maher! You can see the default ports used by EMS in config.lua and webconfig.lua. You can also check the ports being used using netstat command.   Thank you!  
admin Staff answered 8 years ago
We are testing Evostream Server to integrate our solution, It consists on opening many streams over different ports (Only 1 StreamName per port), We need to check in ” Run Time ” the already opened ports on Evostream before we launch a new pullstream : pullStream uri=dmpegtsudp://@IP:[Port] localStreamName=Stream_name Unfortunely, the command “ListStreams” doesn’t return the “Port configuration” of each stream, Is there a way (command line or api) to get the already used ports for streams ? Or is there another solution to limitate only one stream per port, because there is no problem to allocate many StreamNames to one port !
erika Staff answered 8 years ago
Hi techq! You said “Only 1 StreamName per port“. What you can do is to add a service to open a new port. This will enable another port that you can use with your stream.  See how to create a service here: http://docs.evostream.com/ems_api_definition/createservice Related API’s: http://docs.evostream.com/ems_api_definition/listservices http://docs.evostream.com/ems_api_definition/enableservice http://docs.evostream.com/ems_api_definition/shutdownservice   You can see the ports used on the active stream by sending listStreams. You can also check the ports used by sending netstat command. There is no API that returns a full list of used ports.   Thank you!

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.