是否可以使用公共IP在PC上发布Web服务? [英] Is it possible to publish web service on PC with public ip?

查看:52
本文介绍了是否可以使用公共IP在PC上发布Web服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在我的Android应用程序中使用Web服务..是否可以在具有公共IP的PC上发布Web服务并通过互联网从Android应用程序调用它?如果它是真的那么我应该这样称呼它==> ip / webservicename.asmx?什么是设置?





我尝试过:



我真的不知道怎么做

解决方案

我认为你需要购买一个域名,例如来自Google或其他提供商 Google Domains - Google [ ^ ]

另一种方法可能是使用您的ISP提供给您的IP地址,请参阅:

如何查找您的私人和公共IP地址 [ ^

I need to use a web service in my android application .. is it possible to publish web service on a PC with public ip and call it from android app over the internet? and if it's true then I should call it like this ==> ip/webservicename.asmx ? and what are the settings?



What I have tried:

I really don't know how to do it

解决方案

I think you need to purchase a domain name, e.g. from Google or another provider Google Domains – Google[^]
An alternative might be to use the ip address your ISP gave you, see:
How to Find Your Private and Public IP Addresses[^]


这篇关于是否可以使用公共IP在PC上发布Web服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆