ERROR:tryton.rpc:[Errno 111] Connection refused

tryton -v
INFO:tryton.rpc:common.db.list()
INFO:tryton.rpc:common.server.version(None, None)
ERROR:tryton.rpc:[Errno 111] Connection refused

config

[jsonrpc]
# Settings for the JSON-RPC network interface

# The IP/host and port number of the interface
# (Internal default: localhost:8000)
#
# Listen on all interfaces (IPv4)

listen = 0.0.0.0:8000

so why cant the desktop client connect to the server?

jsonrpc does not exist since many years. It is web section that must be configured. By the way, the log on the server should tell you on which interface it is listening.

i dont have a web interface on the server(sao), i dont see how the tryton desktop client needs the webui

for anyone reading this that have this problem it needs to be

[web]
listen = 0.0.0.0:8000

Desktop client (tryton) does not need the “web ui”.

trytond is served by a web server (Werkzeug by default) through WSGI despite the client you use (web (sao), desktop (tryton)) to connect to it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.