PaddlePaddle / PaddleNLP

👑 Easy-to-use and powerful NLP and LLM library with 🤗 Awesome model zoo, supporting wide-range of NLP tasks from research to industrial applications, including 🗂Text Classification, 🔍 Neural Search, ❓ Question Answering, ℹ️ Information Extraction, 📄 Document Intelligence, 💌 Sentiment Analysis etc.
https://paddlenlp.readthedocs.io
Apache License 2.0
11.98k stars 2.92k forks source link

[Question]: pipeline ip地址访问限制 #3570

Closed JaylonXiwei closed 1 year ago

JaylonXiwei commented 1 year ago

请提出你的问题

https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/neural_search/ranking/ernie_matching

我根据这个文档运行并且部署pipeline server,能够在linux本机使用8089端口号访问。但是我想在别的机器上通过ip访问我本机上的服务无法成功。

请问config_nlp.yml中如何设置ip地址为"0.0.0.0",这样可以被其他机器访问到?谢谢

wawltor commented 1 year ago

ip地址为"0.0.0.0" 是本地地址,你可以把这个地址改成机器的ip地址

w5688414 commented 1 year ago

Paddle Serving没有远程访问的限制,请检查一下linux的端口号是否开启,是否有防火墙那些

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。