如何通过远程应用.NET访问Couchbase服务器(在Windows 7)服务器、NET、Couchbase、Windows

2023-09-05 04:17:52 作者:你只是走累了借我肩膀而已

我已经安装在Windows 7 couchbase服务器。 我创建了一个小C#.NET应用程序使用它,这传达我的本地机器。 我想创建一个应用程序,将做到这一点,但是从远程计算机。 (从远程计算机连接到couchbase我的电脑上) 在我的app.config添加 //添加URI =htt​​p://192.168.0.100:8091/pools/ 即时通讯落后路由器(大的差异?) 我需要什么改变或做,才能够从远程PC连接? 答案或链接将AP preciated,包括任何可能的帮助。

i have installed couchbase server on windows 7. i created a small c# .net app which communicate with it, on my local machine. i am trying to create an app that would do just that but from a remote computer. (connect to the couchbase on my computer from a remote computer) in app.config i add //add uri="http://192.168.0.100:8091/pools"/ im behind a router (big difference?) what do i need to change or do, to be able to connect from a remote pc? answers or links will be appreciated, including anything that might help.

在我找不到教程这一点。

推荐答案

刚换到URI在App.config是必要的。那么,你可能还需要确保任何防火墙(或其他网络配置)允许新的客户联系上的端口8091,8092和11210的服务器。查看couchbase.com/docs的文档的详细信息,什么样的网络端口可能需要,如果你有多个couchbase服务器,等等。这就是它是开放的。

Just the change to the URI in the app.config is needed. Well, you may also need to make sure any firewalls (or other network config) allow the new client to contact the server on ports 8091, 8092 and 11210 as well. See the docs on couchbase.com/docs for details on what network ports may need to be open if you have multiple couchbase servers, etc. That's it.