December 23, 20187 yr How would I go about manually assigning a port for a VM to use? Unraid seems to always have this set to auto so sometimes two different Vms will have different ports than they did last time. For example, I want my Windows VM to always have a VNC port of 5901 and my Linux Mint VM to always have a port of 5902 regardless of whichever one was started first or if only one was started at all. Seems to me there is no GUI way to do it and the one suggestion I found on Reddit didn't work and broke the VM from starting at all. Hopefully, this will be a quick one, Thanks in advance!
December 23, 20187 yr Community Expert You are right in that there is no GUI support for this. You can do this manually by editing the XML for the VM and change the autoport setting on the graphics node from yes to no and then setting the port you want to use. However if you go back to form view on the VM settings this will be reset to the auto setting.
December 23, 20187 yr Author Yeah, that's my problem. I am either doing something wrong or that method doesn't work. Can you be a bit more specific for me so I can maybe see where I am messing it up? I set auto port to no, set the WebSocket and port to the desired port number, execution error when starting the VM.
December 23, 20187 yr Author Oh, never mind, I figured it out. I just can't have the WebSocket port the same, so the info I read was totally inaccurate. Working fine now. Thanks!
Archived
This topic is now archived and is closed to further replies.