-
Notifications
You must be signed in to change notification settings - Fork 642
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
multipass shell fails to start if ports are forwarded to non-existent IP #2383
Comments
Hey @brucejo75 there's nothing obvious going on here. We use port 50051 to communicate with the Multipass service, and port 22 directly to the instance IP to
|
@Saviq, Thanks for the response. I will have to look at this once I am back in town at the end of the month. From memory, I was able to run other The info for the primary vm never had an IP. Also, I was not using Also, I am unable to repro using my repro steps. So perhaps is was some other gremlin. |
Also, I am unable to repro using my repro steps. So perhaps is was some other gremlin. Will reenter if I have repeatable repro. |
I am on Windows 10 Enterprise laptop and still the same issue: Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\Users\xxxxx> multipass list Copyright (c) 1993-2001 Microsoft Corp.This file has been automatically generated for use by Microsoft InternetConnection Sharing. It contains the mappings of IP addresses to host namesfor the home network. Please do not make changes to the HOSTS.ICS file.Any changes may result in a loss of connectivity between machines on thelocal network.172.19.61.134 primary.mshome.net # 2022 12 0 18 22 16 13 30 Initially i found an extraline feed and numeral "2" as additional line in the hosts.ics file. I have delted that character. Still no luck. Is this issue resolved ? |
Windows 11 Pro laptop Experiencing the same issue. |
multipass shell
fails with a timeout if I have a lot of ports forwarded to a non-existent IP.May be related to:
#573, #1512, microsoft/WSL#5514
Environment
Windows 10 20H2 (OS Build 19042.1415)
multipass 1.8.0+win
multipassd 1.8.0+win
Repro:
multipass shell
netsh interface portproxy add v4tov4
multipass delete primary
multipass purge
At this point all my port forwards are pointing at a non-existent vm.
Result: running
multipass shell
times out.See logs below, not much useful. No errors.
Workaround
After I reset all the ports pointing to a valid vm or delete them via
netsh interface portproxy delete v4tov4
multipass shell
would not timeout.I do forward a large number of ports, it is possible
multipass
uses one or 2 of them?Forwarded Port Numbers
netsh interface ipv4 show excludedportrange protocol=tcp
I did not know too check this when I was having the problem. Here is the list while it is working.
Windows Event Logs
Ugh I hate windows event logs... I trimmed out all the non-essential information...The text was updated successfully, but these errors were encountered: