Meteor - access to the application using public ip

I can access the application using localhost: 3000, but I'm trying to test from mobile devices locally, without having to deploy it. But I could not access the site.

I allow an incoming request:

sudo ufw status verbose
Status: active
Logging: on (low)
Default: allow (incoming), allow (outgoing)
New profiles: skip

To                         Action      From
--                         ------      ----
3000/tcp                   ALLOW IN    Anywhere
3000/tcp                   ALLOW IN    Anywhere (v6)

I found that my ip address is 128.84.125.239, so I visit 128.84.125.239haps000 and nothing happens.

+4
source share
2 answers

IP- NAT . , , cmyip.com, IP-. meteor, , 3000 ( , ) .

, , IP-, , , .

Linux ifconfig IP-. ethernet, eth0 ( ). Wi-Fi, , , wlan0.

Mac OSX ifconfig enX, X - ( 0 2).

+1

, , ( , 127.0.0.0/8). , netstat -tulpn, , /. 0.0.0.0:3000 128.84.125.239:3000, IP-, , IP- ( ).

0

Source: https://habr.com/ru/post/1530782/


All Articles