I have a mongod service running on port 27017 on the guest machine
I also have port forwarding enabled to forward host 27017 to guest 27017
Yet, when I try to connect to my mongodb with Robo3T i would get
Network is unreachable. Reason: network error while attempting to run command 'isMaster' on host '127.0.0.1:27017'
I am running ubuntu 18.04 and mongodb4.2
Interestingly, the same setup with Ubuntu 14.04 and mongodb 3.2 would work without issues.
(The environments were configured with boxes on vagrant, so trusty64 with mongodb 3.2 would work, but bionic64 with mongodb4.2 doesn't)