I am trying to setup a private network and trying to connect peers. Currently I'm trying it on my laptop and virtual machine(VM) runing on the same laptop (both of them are connected to internet). I init genesis file on my VM, start geth. Then init my genesis file on laptop(same copy of file), start geth.
With help of admin.addPeer("enode://....@[ip]:30303") i add peers on both machines.
admin.peersCount returns 0