MongoDB Compass connect Issue



Hi, I have a nodejs workspace. I have installed mongodb and have mongodemon process running in it. I found the ip of this workspace using hostname command. And tired to connect to this database in Mongo DB compass in my personal computer. But I am not able to. Because I cannot ping to that IP. Please help. Is it impossible to connect to the mongo database in my workspace using compass?