I want to go to the site on my computer (rails, http: // localhost: 3000 ) from a mobile phone, everything is connected to wifi
- ip provider (external, from myip.ru) -
195.184.199.162 - router ip (gateway) -
192.168.1.1 - ip mobile phone (internal ip) -
192.168.1.6 - ip company - inet
192.168.1.92/24
- Mobile and PC as it should be ping each other when they are connected to an Internet and do not ping when there is not
- the computer comes through the browser to the site via a localhost, 127.0.0.1, BUT NOT THROUGH your internal ip (although in theory it should, right?)
- iptables filters are clean
- 192.168.1.92a000 c mobile phones cannot be reached (and from a computer as I said)
Question: do I need to open the port via iptables? How to do it?
I tried iptables -I INPUT -p tcp -m tcp —dport 3000 -j ACCEPT , and also a script from here