Skip to content

fail if publish host is set to wildcard address #13274

@rmuir

Description

@rmuir

or probably broadcast/multicast/etc.

In the case of wildcard (e.g. 0.0.0.0), this is ok as a bind_host for listening only. But for a publish_host these addresses will be problematic. we should just fail.

separately, If you specify Des.network.bind_host=0.0.0.0 es will seemingly do the semi-right thing and pick a publish host like 127.0.0.1. But this should be special cased as well, because javadocs say (http://docs.oracle.com/javase/7/docs/api/java/net/NetworkInterface.html#getByInetAddress%28java.net.InetAddress%29);

If the specified IP address is bound to multiple network interfaces it is not defined which network interface is returned.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions