4 ms·
> only one program can listen on myip:80. That isn't true anymore, at least on Linux, thanks to SO_REUSEPORT
by nly 9y ago
> only one program can listen on myip:80.
That isn't true anymore, at least on Linux, thanks to SO_REUSEPORT
- roblabla 9y agoYeah, but that's not the point. If I have my friend who wants to host blog1.com, and I want to host blog2.com on the same machine, we can't do it without some coordination. We'd probably need to have an Nginx server using VHost to redirect to my or his server. We can't use SO_REUSEPORT because if the request goes to the wrong server, it won't know how to react. With SRV, we wouldn't have this problem. With each of us having IPv6, we wouldn't have it either.
- nly 9y agoArguably IPv6 also solves this problem :P