Closed ciis0 closed 2 years ago
@ciis0 bind: An attempt was made to access a socket in a way forbidden by its access permissions.
Can you check if some other service is using port 2222
?
yes, no service ist listening:
> netstat -ano | findstr 2222
>
@ciis0 Can you try one of the suggestions mentioned in https://stackoverflow.com/questions/15619921/an-attempt-was-made-to-access-a-socket-in-a-way-forbidden-by-its-access-permissi here?
Hi,
aaaah, yes, thank you, this one helped:
Restart-Service hns -f
:)
The above mentioned links do not solve the issue. They are a workaround in case the port is blocked but the issue is somewhere else. My port 2222 is no where used and I still get the same error
I rather believe it is either a Windows configuration issue
Is this a Windows installed managed by your company? Or is this a personal Windows installation?
for me it's company managed.
Yes, Windows installed managed by company. I switch the ingress-http-port port to use something else than 80 and after this I was able to apply crc start successfully. However, except that any service using port 80 needs to be called with another port I am unsure about the implications
General information
crc setup
before starting it (Yes/No)? yesCRC version
CRC status
CRC config
Host Operating System
Steps to reproduce
Expected
crc starts
Actual
crc start fails
Logs
Before gather the logs try following if that fix your issue
Please consider posting the output of
crc start --log-level debug
on http://gist.github.com/ and post the link in the issue.https://gist.github.com/ciis0/b56dfde9325cdef4439b6fe949e826d0
It seems like the machine in hyper-v does not even have a NIC.