hi, i am new to hosting a website,
in my laptop i run webrick server which run on port 3000, and at my home we use o2 wireless router, router wan address is 18.104.22.168 and router local address is 192.168.1.254, my local address is 192.168.1.66, my friend local address is 192.168.1.67 , when he type this http://192.168.1.66:3000
he can see my website locally, but when i asked my friend who is in india to access my website using http://22.214.171.124:3000
he can not access my website, what is the problem, i changed settings in my router to forward port address to my lap. but still its not working, do i really need to register in dns to access my website , i do not use name , i jst use ip address and port number, why my friend can not access my website, who is blocking in middle. what i have to do make him to see my website, please help me, i was trying for 3 days but can not make it happen. help me please,,, thanks a lot for your time. thanks once again.