Added support for specifying the port in the listener