How-to change the IP Wowza Streaming Engine Manager binds to

A small issue we have run into time and time again is to configure the Wowza Streaming Engine Manager to bind to only one or specific IP address if a server is multi homed.

To change the configuration of the Manager you need to edit the startmgr script which is found in the [install-dir]/manager/bin/ location.

The line to change will look something like this

"%_EXECJAVA%" %JAVA_OPTS% -jar "%WMSMGR_HOME%\lib\wms-winstone-1.0.5-boot.jar" 
--prefix="/enginemanager" --defaultWebApp="/enginemanager" 
--tempDirectory="%WMSMGR_HOME%\temp" --webroot="%WMSMGR_HOME%\temp" 
--warfile="%WMSMGR_HOME%\lib\WMSManager.war" --httpPort=8088 
--ajp13Port=-1 --directoryListings=false

You would change it by adding –httpListenAddress after the –httpPort option so it would look like

"%_EXECJAVA%" %JAVA_OPTS% -jar "%WMSMGR_HOME%\lib\wms-winstone-1.0.5-boot.jar" 
--prefix="/enginemanager" --defaultWebApp="/enginemanager" 
--tempDirectory="%WMSMGR_HOME%\temp" --webroot="%WMSMGR_HOME%\temp" 
--warfile="%WMSMGR_HOME%\lib\WMSManager.war" --httpPort=8088 --httpListenAddress=192.168.1.10
--ajp13Port=-1 --directoryListings=false

This would force the Manager to only listen on IP 192.168.1.10

It is recommended you back up the file before editing and the line is slightly different for Windows/Mac/Linux however the additional option is the same.


Comments are closed.