Also add port number support for registering