chat: make the port configurable