請(qǐng)問出現(xiàn)這個(gè)是什么情況呢
F:\ngrok>ngrok 8080
NAME:
?? ngrok - tunnel local ports to public URLs and inspect traffic
DESCRIPTION:
??? ngrok exposes local networked services behinds NATs and firewalls to the
??? public internet over a secure tunnel. Share local websites, build/test
??? webhook consumers and self-host personal services.
??? Detailed help for each command is available with 'ngrok help <command>'.
??? Open http://localhost:4040 for ngrok's web interface to inspect traffic.
EXAMPLES:
??? ngrok http 80??????????????????? # secure public URL for port 80 web server
??? ngrok http -subdomain=baz 8080?? # port 8080 available at baz.ngrok.io
??? ngrok http foo.dev:80??????????? # tunnel to host:port instead of localhost
??? ngrok tcp 22???????????????????? # tunnel arbitrary TCP traffic to port 22
??? ngrok tls -hostname=foo.com 443? # TLS traffic for foo.com to port 443
??? ngrok start foo bar baz????????? # start tunnels from the configuration file
VERSION:
?? 2.1.2
AUTHOR:
? inconshreveable - <alan@ngrok.com>
COMMANDS:
?? authtoken??? save authtoken to configuration file
?? credits????? prints author and licensing information
?? http???????? start an HTTP tunnel
?? start??????? start tunnels by name from the configuration file
?? tcp????????? start a TCP tunnel
?? test???????? test ngrok service end-to-end
?? tls????????? start a TLS tunnel
?? update?????? update ngrok to the latest version
?? version????? print the version string
?? help???????? Shows a list of commands or help for one command
ERROR:? Unrecognized command: 8080
2018-07-02
ngrok http 8080 可以了
2018-05-25
ngrok http 8080
2017-12-15
怎么起動(dòng)服務(wù)呢
2017-11-19
這個(gè)好像不是服務(wù)沒啟動(dòng)的問題吧? 我確定我服務(wù)啟動(dòng)了 端口號(hào)是8080
2017-03-29
首先你需要開啟本地的8080服務(wù),然后輸入ngrok http 8080即可成功。以我的80端口的Apache服務(wù)為例: