Connect to virtual machine

I want to connect to the database on the virtual machine, but it doesn’t work.

OrientDB orient = new OrientDB(“remote:121.196.54.227”, OrientDBConfig.defaultConfig());

Caused by: com.orientechnologies.orient.core.exception.OStorageException: Cannot create a connection to remote server address(es): [121.196.54.227:2424]