Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望服务器以任何方式获取调用者的 IP。例如,客户端调用服务器上检查其 IP 的函数。
另外我想知道如何使用纯 Python 或内置函数获取我自己的外部 IP。
Answers are in the manual.
Pyro4.current_context
Pyro4.socketutil.getIpAddress