Q:

I cannot connect to mongodb, even in same Lan

I used the following config in mongod.cfg in mongdb v4:
# network interfaces
net:
  port: 27017
  bindIp: 127.0.0.1,0.0.0.0,192.168.1.120

but even from local network I cannot access to server:

A:

This might be a firewall issue. If firewall is running stop it. Also check whether the MongoDB service is running on 0.0.0.0.

