Cannot remotely connect to oracle express
More often than not, a firewall on the database vm is the culprit.
You can test this with

telnet oraclehost 1521 

from your mac. This should give a quick response. If it does not give a quick response, like not response at all, a firewall is blocking the request. In that case allow traffic on port 1521, or disable the firewall.