I can't access my Vue CLI project over IP
I start my Vue CLI (template webpack) project by terminal with npm run dev
and initializes everything normal.
I can access my web project by localhost
or 127.0.0.1
, but when I try to access the ip of my machine I can not, both by pc and mobile.
Remarks:
- My ip is right because I took the
ifconfig
; - I can ping my ip;
- the port is also right, as I can access through
localhost:8080
; - Linux Ubuntu 18.04
- the network is with internet;
Mobile and notebook error:
cannot access this site
the connection to 10.0.0.107 was refused.
1
Author: Lucas Sena, 2019-05-08