0

Upon trying to bind ZeroMQ Socket to google compute ephemeral IP result in

Cannot assign requested address (IOError)

I think, I get what is the reason for this because the ifconfig does not report the ephemeral IP in the listing

All it contain private IP (which I believe is NAT ip) that google internally uses.

Reference drawn from here

The Firewall rule for the desired port have be allowed to

zeromq-port 0.0.0.0/0   tcp:5437-5438   Apply to all targets

Now how does I work around with this and have ZeroMQ communicate across the across instances.

Viren
  • 181

1 Answers1

1

GCE network layer will forward packets destined to a particular external IP to the corresponding instance. “Ifconfig” will not list an interface having an external IP. Binding services to all interfaces should work on most applications.

Carlos
  • 1,385