跳至內容
選單
此問題已被標幟
4559 瀏覽次數

Trying to connect Odoo 13 in production mode (reverse proxy nginx active) via external API XML-RPC and getting the following error: 


urlopen error [Errno 101] Network is unreachable


For whom came across to the same issue, I sorted this out changing odoo.conf (Odoo 13 in production mode, reverse proxy nginx active) as follows:

http_interface = 0.0.0.0
*(it was 127.0.0.1)

Using 127.0.0.1 allows only access via xml-rpc internally in the same ambient, setting url to '127.0.0.1', but with http_interface = 0.0.0.0 is possible to access externally normally setting url to ip_address.

Thanks.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
8月 18
4376
1
11月 22
4363
1
6月 21
4300
0
5月 23
2239
1
3月 24
5326