-
Notifications
You must be signed in to change notification settings - Fork 29
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
gok vm: add custom ports #78
Comments
I'll try a PR for this |
PR works:
It does however produce very odd results if run with evcc-io/evcc#18209:
I have no idea where the broken redirect comes from? |
I'm still lost where this super weird port 8088:8080 https redirect issue comes from. It works fine with a simple example and only shows in the evcc case. Since evcc listens on 8080:80 it's out of the way and it doesn't listen to 8080 itself. |
Oh, I see. Simple case:
evcc:
Not sure what triggers this though, looking at https://github.com/gokrazy/tools/blob/main/internal/packer/packer.go#L1650-L1659 atm. |
@stapelberg I can see this happens here in packer.go:
which results in HTTPS port being set:
I dunno yet how that triggers the fancy redirect, but maybe this is enough for you to take a quick look? It seems the HTTPS choice is a bit arbitrary and has side effects. |
Found it. There was 4 year old |
We're using port 80 for the host application and 8080 for gokrazy:
Here the host application occupies 8080 and gokrazy is not available via qemu. It would be nice if
gok vm
(automatically?) allowed mapping additional ports for this purpose. Maybe by overriding to appending tonetdev
:The text was updated successfully, but these errors were encountered: