cycronix / cloudturbine

CloudTurbine - Data Streaming Middleware
Apache License 2.0
3 stars 4 forks source link

Add the ability to change the host name from command line #155

Closed vxlk closed 1 year ago

vxlk commented 1 year ago

By default, Jetty opens a listening port on 0.0.0.0 (any available network interface) which can be seen here:

image

This can be gathered by running 'netstat -ano' while ctweb is running.

Our use case requires a higher level of security, meaning we can only use ports on the local network.

This can be achieved by passing in 'localhost' as the host name as a command-line argument.