Closed orzechowskid closed 7 months ago
I should note that the guest OS boots just fine when using the example from the quickemu documentation:
port_forwards=("8123:8123" "8888:80")
and another unprivileged port also seems to work fine:
port_forwards=("3000:3000")
I'm getting the same. The error here seems to be that the quickemu
command will fail if the host port is occupied (not exclusive to 443
)
I've tried to do port_forwards=("8080:8080")
so that I can access my localhost:8080
web server from the guest machine.
However, if localhost:8080
is occupied by the web server, quickemu --vm ./macos-ventura.conf
will fail.
If the port is free, quickemu
will run normally.
I'm wondering if it is possible to access an occupied port from the host machine from guest.
Quickemu runs in the user context, therefore, an unprivileged user account. Unpriviledged accounts are not able to bind to ports <= 1024.
You should bind a port > 1024 on the host to 443 on the guest:
port_forwards=("8443:443")
I'm getting the same. The error here seems to be that the
quickemu
command will fail if the host port is occupied (not exclusive to443
)I've tried to do
port_forwards=("8080:8080")
so that I can access mylocalhost:8080
web server from the guest machine.However, if
localhost:8080
is occupied by the web server,quickemu --vm ./macos-ventura.conf
will fail. If the port is free,quickemu
will run normally.I'm wondering if it is possible to access an occupied port from the host machine from guest.
I am having the same issue. Did you find a solution?
Expected behaviour
Actual behaviour
VM fails to boot and exits with code 1
Steps to reproduce the behaviour
port_forwards=("443:443")
Quickemu output
Linux Distribution & Kernel