Skip to Content
Menu
This question has been flagged
3 Replies
58401 Views

Hi, introduce my self the new comer of it.

i learned this from local host:8069 at collage, plz give me some explanation or clarification if i use the different local host?

thank you.

Avatar
Discard

Hi...

check the below link:

https://www.odoo.com/forum/help-1/question/how-to-change-the-default-port-8069-used-by-odoo-server-60679

Best Answer

Just simple,

You can set xmlrpc_port=1111 in config file.

here is my config file example :

[options]db_host=localhost
db_port=5432
db_user=odoo
db_password=odoo
xmlrpc_port=1111
Avatar
Discard
Best Answer

Hi,

You can use command line to change default odoo port

sudo /opt/odoo/odoo-bin -c /etc/odoo-server.conf --xmlrpc-port=8070

This will change the default or the xmlrpc port set on the config and run on the mentioned port number

Regards

Avatar
Discard
Best Answer

hi, 

Odoo Default xmlrpc port defined as 8069, you can modify as your wish.

You can write new configuration file to change your port,

save following with file name as server.conf, then while starting server mention this as like


odoo-server -c server.conf 

your odoo application will be started from xmlrpc_port what you are giving(here 8048).

[options];

This is the password that allows database operations:

; admin_passwd = admin

db_host = False

db_port = False

xmlrpc_port = 8048

netrpc_port = 8058

db_user = yourdbuser

db_password = yourdbuser password

addons_path = /opt/server/addons

logfile = /var/log/odoo/server.log



Thanks and regards.

Avatar
Discard