added in command line listener for port, not safe though