哪个端口使用 rethinkdb 客户端驱动程序?如何设置特定端口来监听rethinkdb客户端驱动?
which port uses the rethinkdb client driver? How to set a specific port to listen the rethinkdb client driver?
我有一个客户端主机和一个不同的 rethinkdb 服务器主机。我需要在这些与 rethinkdb 客户端驱动程序相关的服务器之间设置防火墙规则。我已经知道rethinkdb服务器应该接受28015端口的tcp连接,但是我不知道是哪个本地端口使用客户端主机中的客户端驱动来请求数据和从rethinkdb服务器接收数据。所以我的问题是哪个端口使用 rethinkdb 客户端驱动程序来请求数据和从 rethinkdb 服务器主机接收数据?如果客户端驱动程序使用随机端口,我如何设置客户端驱动程序使用特定端口从rethinkdb服务器请求和接收数据?
正如@Daniel Mewes 所说:
The local outgoing port on the client cannot be set (at least not with
the official drivers). It is automatically assigned by the operating
system. Note that the client never listens to any incoming connections
though.
你可以将此标记为已回答@nerva13 吗?
我有一个客户端主机和一个不同的 rethinkdb 服务器主机。我需要在这些与 rethinkdb 客户端驱动程序相关的服务器之间设置防火墙规则。我已经知道rethinkdb服务器应该接受28015端口的tcp连接,但是我不知道是哪个本地端口使用客户端主机中的客户端驱动来请求数据和从rethinkdb服务器接收数据。所以我的问题是哪个端口使用 rethinkdb 客户端驱动程序来请求数据和从 rethinkdb 服务器主机接收数据?如果客户端驱动程序使用随机端口,我如何设置客户端驱动程序使用特定端口从rethinkdb服务器请求和接收数据?
正如@Daniel Mewes 所说:
The local outgoing port on the client cannot be set (at least not with the official drivers). It is automatically assigned by the operating system. Note that the client never listens to any incoming connections though.
你可以将此标记为已回答@nerva13 吗?