If the port-checker from internet says "closed" the port is not reachable from the internet.
Something is blocking the port (incoming traffic from internet). This could be:
- Firewall on the FiveM VM (OS firewall)
- NSG associated with the VM
- NSG assiciated with the subnet of the VM
Or the FiveM software on the VM is not working properly.
To check this you need a second Windows VM in the same network of the FiveM VM.
You can check the port on the FiveM VM with a simple PowerShell script from the second VM:
Test-NetConnection -ComputerName "[*Name of your FiveM VM*]" -Port 30120
If the result is "true" the second VM is able to connect with the FiveM VM via port 30120. If the result is "false" the second VM is not able to connect to the FiveM VM. In this case maybe the FiveM software is not working properly or the OS firewall on the FiveM VM is blocking (you can disable the FW of the OS completely to eliminate this option),
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten