-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for port override/reassignment when port 80 (or 22) is used by a local service on Windows #2760
Comments
We have been considering to use a prefix or port override, but so far haven't been able to work on this. |
The error comes from: which means the The current options are given as: and used here: |
If I change the port number in vsock.go , will it work ? or you have already have plan to release custom option ? |
You can try to build your own version, but we are discussing what to do to address this. We are not sure what will happen to the address that are being used when an alternative port is used; a possible rewrite is needed? In short, we need to test this. |
@anjannath would you be willing to have a look at this after your PTO? I'll catch up with you soon to explain what we talked about. |
On Windows port 443 (and 80) might be claimed by the Worldwide Web Publishing service (IIS) or Work Folders. We either need to document this as a known issue (and solution to disable), or implement alternative ports. |
@gbraad apologies, i completely missed the comment, yes I'd like to take a look this, for now we can point users here and this serves as a known issue, and we can work on implementing an solution to this like suggested like binding to an alternative |
Perhaps document this also ? |
hello guys, has anyone figured this out yet? thanks a lot |
disable IIS or stop the service to open up the port. Also recommend a program called TCPView to see which ports are bound |
Thanks guys. I resolved it by issuing the following command in Powershelll which does you say stop iis services: |
Are there any updates to the modification to crc/pkg/crc/machine/vsock.go file and Sprint 208 release that was mentioned above, please?. In our case it's not IIS but a different process.
It fails with error when I attempt to start the instance
Windows OS already consuming the port 80 for system services. Is there any way to change or proxy the port for CRC to start without using port 80?
Please advise of a resolution as port 80/443 is used by Windows and I cannot start the CRC instance. |
|
Same question as as radaviko. In my case, Windows 10 ntoskrnl.exe is running and using port 80. Reading about what this component is about I think it's a bad idea to deactivate it. Let me try to disable IIS |
@EBoiSha Newer CRC versions automatically uses a different port if port 80 or 443 are already in use, this was added in #3332 If this is not working for you (CRC not automatically using a different port when 80 or 443 is in use) please create another issue with details of your setup and how to reproduce |
Note:
means IIS is enabled. if the solution in #3332 is not sufficient, consider changing the ports using the |
Window OS already consuming the port 80 for system services . Is there any way to change or proxy the port for CRC to start without disabling HTTP services in windows ? If I temp disable HTTP service , CRC runs perfectly fine but can not leave the HTTP service disable or I need to build CRC inside the VM to get through this ?
General information
crc setup
before starting it :YesCRC version
CRC status
CRC config
Steps to reproduce
crc start
Expected
crc start process to complete
Actual
The text was updated successfully, but these errors were encountered: