Issues accessing MongoDB remotely

the ip address which i’ll get when i run ipconfig will be my private ip address right??..
mongodb remote access
In this article it is said that i need to bind the server computer’s public ip address in the config file in order to remotely access the server. But the mongod refuses to start and throws this error of “The requested address is not in its context”.

Private ip address issue :
If i just use my private ip address which is shown in ipconfig , Then the mongod server starts and only i can able to access it …when i try to access it from my friend’s computer i’m getting this error of “Socket operation timed out”.