added -P <port> option