简体   繁体   English

为什么我在使用 ngrok 进行端口转发时得到 2 个端口

[英]why do I get 2 ports when I portforward using ngrok

enter image description here在此处输入图像描述

As you can see from the image above I'm given 2 ports what's the use of them?从上图中可以看出,我给了 2 个端口,它们有什么用? As I understood you only need 1 why am I given 2?据我了解,您只需要 1 为什么给我 2?

So turns out ngrok only opens a port while the application is open on a PC thus making it unusable I used portmap.io which gave me a free lifetime open port I recommend using that.结果证明 ngrok 仅在应用程序在 PC 上打开时打开一个端口,因此使其无法使用我使用了 portmap.io 这给了我一个免费的终身开放端口,我建议使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么在python中使用.count()时会出现AttributeError - Why do I get an AttributeError when using .count() in python 为什么在使用 CrossEntropyLoss 时会出现 ValueError - Why do I get a ValueError when using CrossEntropyLoss 为什么在使用子进程时会收到 FileNotFoundError? - Why do I get a FileNotFoundError when using subprocess? 为什么在使用 setCharFormat() 时会出现堆栈溢出错误? - Why Do I get a Stack Overflow error when using setCharFormat()? 为什么在使用 datetime.max 时会出现 ValueError? - Why do I get a ValueError when using datetime.max? 为什么在使用 MultiIndex(但不是简单索引)时会出现 SettingWithCopyWarning? - Why do I get a SettingWithCopyWarning when using a MultiIndex (but not with a simple index)? 使用 AutoSklearn 时出现“UserWarning: Port 8787 is already in use”,为什么 AutoSklearn 使用端口? - I get "UserWarning: Port 8787 is already in use" when use AutoSklearn, Why would AutoSklearn use ports? 为什么在python中使用列表时出现错误? - Why do I get an error when using list in python? 为什么在使用 subprocess.Popen 时会出现 FileNotFoundError? - Why do I get FileNotFoundError when using subprocess.Popen? 为什么在使用 Neurokit 时出现属性错误? - Why do i get an Attribute Error when using Neurokit?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM