Open cfergeau opened 3 years ago
An alternative is to have crc
bind to 0.0.0.0
instead of 127.0.0.1
for its VM ports which removes the need for the haproxy instance.
If we bind it to 0.0.0.0
that means we are going to block these port for any other service to any other interface, as of now we are only binding it to lo
interface so a user still able to run other service on same port on different interface right?
I see binding to 127.0.0.1 as some kind of isolation feature, keep the VM private to the local machine. I don't know if there was more to this design choice.
An alternative is to have
crc
bind to0.0.0.0
instead of127.0.0.1
for its VM ports which removes the need for the haproxy instance.
Actually, the daemon is already binding to 0.0.0.0
, see https://github.com/code-ready/crc/issues/2667
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Steps to reproduce:
crc ip
is 127.0.0.1)systemctl start haproxy
The last step fails because
haproxy
andcrc
fight to use the same ports:Not quite sure what to do about this short of switching back to system networking.