Can 2 listening servers bind to the same port with different local IP address as the same user?
Hi,
Can Solaris be configured to allow 2 listening servers bind to the same port with different local IP addresses and different effective UIDs, assuming both sockets are configured with SO_REUSEADDR?
My test development environment:
- Oracle Solaris 11.3.13.4.0 (from "Summary:" field of "pkg info entire" command)
- uname -a output: SunOS myhost 5.11 11.3 sun4u sparc SUNW,SPARC-Enterprise
The Solaris 11.3 SPARC production environment will have the newest (or close to it) SRU.
The problem can be demonstrated with netcat. One listening server binds to INADDR_ANY, port 55555. The other binds to myhost, port 55555.
Example that works:
Shell1: (user1@myhost)netcat -4 -l -p 55555