简体   繁体   English

通过 DDNS 从 Android 应用程序调用自托管 web api

[英]Call a self hosted web api from an Android app through a DDNS

My client has an account with NoIp.我的客户有一个 NoIp 帐户。 Our goal is to allow an android app call our self hosted Web Api service through the NoIp dynamic ip.我们的目标是允许 android 应用程序调用我们的自托管 Web Api 服务通过 NoIp 动态 Z9535Z8D8D.424 I've looked all over for some guidance on this topic, but I haven't found anything remotely related.我已经到处寻找关于这个主题的一些指导,但我没有找到任何与此相关的东西。 Everything works in the local environment, android wired to local machine, Visual Studio 2019, using localhost.一切都在本地环境中运行,android 使用 localhost 连接到本地机器 Visual Studio 2019。 We've opened ports on the house's router.我们已经在家里的路由器上打开了端口。 When I change the outbound ip to that in NoIp, still can't connect.当我将出站 ip 更改为 NoIp 中的时,仍然无法连接。 Can anyone point me in the right direction?谁能指出我正确的方向?

I moved to a new house and was unaware that there was a wired internet modem that was connected to a wifi router.我搬到了新房子,却不知道有一个连接到 wifi 路由器的有线互联网调制解调器。 Ports had been opened on the router, but not the modem.端口已在路由器上打开,但未在调制解调器上打开。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM