问题描述
我想要:我的电脑上的ping服务器通过远程的域名。
I want: ping server on my PC by it domain name from remote.
我有:
- DynDNS服务(或,无ip配置更加困难)。它得到一个IP
94.154.220.216
和(子)域http://my_domain.duckdns.org
。要在PC上配置DuckDNS
,我只需要指定一些令牌和我的域名(my_domain
)。 - 此外,我已经在
lacalhost:3000
上启动了服务器。 - 此外,当我转到时,它表示我的IP是
94.154.220.216
(很好)。 - 我为我的电脑配置了静态IP(比方说,$ code> 200.300。 1.15 )
- 通过(Port =
3000
,Protocol = TCP,Internal IP =200.300 .1.15
)
- DynDNS services DuckDns (or No-IP, config in no-ip is even harder). It gets me an IP
94.154.220.216
and (sub)domainhttp://my_domain.duckdns.org
. To configureDuckDNS
on PC I need just specify some token and my domain name (my_domain
). - Also I've launched server on
lacalhost:3000
. - Also when I go to CanYouSeeMee it says that my IP is
94.154.220.216
(that's good). - And I configured static IP for my PC (let's say
200.300.1.15
) - And Setting port forwarding for with help of Port Forwarding Wizard (Port=
3000
, Protocol=TCP, Internal IP =200.300.1.15
)
问题: c $ c> http://my_domain.duckdns.org 或 http://my_domain.duckdns.org:3000
从远程。
Problem: I can't get neither http://my_domain.duckdns.org
nor http://my_domain.duckdns.org:3000
from remote.
假设:我假设路由器配置中有麻烦。
Assumption: I assume that troubles are in router configurations.
问题:
- 我如何查看错误?重定向请求到我的路由器或路由器不要求请求到我的电脑。
- How can I check what is wrong? Means whether DuckDNS doesn't redirect request to my router or my router don't redirect request to my PC.
我的本地网络方案: strong>
My local network scheme:
Internet <==> 1st Router <==> My PC
static IP static IP: (let's say 200.300.1.15)
推荐答案
我浪费了很多时间与No-Ip和DuckDNS。他们都声称他们尽可能的容易,但这不是事实。最后,我使用 ,而不是配置我的路由器和大量的痔疮
- 30秒和 vu a la !所有你需要做的是:
I wasted lots of time with No-Ip and DuckDNS. They all claims they're as easy as possible, but that's not the truth. Finally instead of configuring my router and having lots of hemorrhoidswith God knows what, I used ngrok - 30 seconds and vu a la! All you need to do is:
- 下载
- 运行它:
./ngrok subdomain =< your_domain_name> < your_server_port>
- Download
- Run it:
./ngrok subdomain=<your_domain_name> <your_server_port>
这篇关于我的电脑的域名:如何(试过No-IP,DuckDNS和ngrok)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!