As I understand 0.0.0.0
means all network interfaces of this host (including 127.0.0.1
).
Suppose I have three interfaces 192.0.2.40
, 203.0.113.150
and 127.0.0.1
on server (OS linux).
On 192.0.2.40:777
, I have ServerA. On 203.0.113.150:777
, I have ServerB. How will server process the request to 0.0.0.0:777
? I mean when the same port (777
) is listening on different interfaces. Or I understand everything wrong?