mac external network access for local service

ngrok Download: https: //ngrok.com/download

Extract to the specified directory
unzip -n ngrok-stable-darwin-amd64.zip -d / tmp

Into the extracted directory to perform
./ngrok http localhost: 8080

8080 is the port operation of the project

ok, so it is up and running, the new address of the mobile phone can provide access ngrok.

Published 139 original articles · won praise 35 · views 180 000 +

Guess you like

Origin blog.csdn.net/kanglovejava/article/details/99683753