python-eureka-client
python-eureka-client copied to clipboard
Ommit instance_port/instance_secure_port
I want to register an instance with just a hostname (no ip and port). However, setting the port is enforced (code below). So the server keeps displaying hostname+":port". And of course my instance is not reachable by this address.
https://github.com/keijack/python-eureka-client/blob/dd89189e4973966630c6bf12200e8dd774c1dfea/py_eureka_client/eureka_client.py#L380
@keijack or someone else: Is it possible to leave out the instance_port/instance_secure_port, so that only the host (without any port) will be reported to the eureka server? Example would be https://example.com/subdomain. Currently only https://example.com/subdomain:PORT works? I want the ":PORT" to be removed. Thank you.