When using `nginx` to route WebSockets traffic, [[ https://secure.phabricator.com/book/phabricator/article/notifications/#advanced-usage | documentation ]] specifies that `notification.client-uri` should be set to `http://localhost/ws/`resulting in Aphlict client-port argument being set to an empty string. `notification.client-uri` should be set to `http://localhost:22280/ws/` instead, or when parsing the uri, no empty client-port should be sent to Aphlict in order to use the default client port.
Aphlict should probably check the passed value is not empty before overwriting the default one.