Issues accessing MongoDB remotely

thanks sir !! i figured it out!!..i binded my computer’s ip address in the conf file and ran the mongod server succesfully…but when i try to connect the server from my friend’s computer by typing the following:
mongo --host 192.168.xxx.xxx --port 777
i installed mongodb in his computer too…
so, when i ran this , i got NetworkTimeout error named Socket operation timed out
ho to resolve this?