Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

How can I change the 8069 to an other port in odoo 10 on ubuntu ?

Subscribe

Get notified when there's activity on this post

This question has been flagged
10 Replies
19424 Views
Avatar
hoboy

I have tried now for few days but not able to make it work.

I have odoo 10 community running on ubuntu 17.05.

Now I have download the source using git and want to configure it to run from eclipse, but the issue is that

the port 8069 is occupied.

How can I configured the source to use another port ? for example 8070 ?

Thanks

0
Avatar
Discard
Avatar
Ermin Trevisan
Best Answer

Change the xmlrpc_port parameter in your odoo.conf file (or add a new line with the port number of your choice).

1
Avatar
Discard
DWARKANATH BARI

Hello sir can i install odoo using shell script with my desire folder name and port number ? How i can update my given port number in .conf file ? How i can create my desire database user & database name frm shell script ?? Please share your mail id for sending u details for this.

Avatar
Shameem Babu
Best Answer


    You can watch how to set xmlrpc_port in odoo.conf file 

     https://www.youtube.com/ Change the 8069 to another port in odoo 10 on ubuntu

1
Avatar
Discard
DWARKANATH BARI

Hello sir can i install odoo using shell script with my desire folder name and port number ? How i can update my given port number in .conf file ? How i can create my desire database user & database name frm shell script ?? Please share your mail id for sending u details for this.

Avatar
Jasad Moozhiyan
Best Answer

Change the xmlrpc-port to the desired port in the odoo-server.conf file.

0
Avatar
Discard
Avatar
hoboy
Author Best Answer

Hello Mishra.

Thanks it works like a charm.

Ermin: I am very new to odoo as java developer I want to be able to have 2 different instance running.

one i can use as reference how things look like, and the other to modify the python files, I want to learn o develop odoo.

Thanks


0
Avatar
Discard
Ermin Trevisan

If you have 2 odoo instances, you also have 2 odoo.conf files (or 2 config.py files), so it is up to you if you prefer to modify code or conf files for the purpose of configuration. I would prefer conf files.

Avatar
Raaj Mishra
Best Answer

Hi Hoboy,

You need to go throught the odoo/tools folder path in your directory, there you can find the config.py file.

Now you need to edit the config.py file and search for the below code[**] which may be arround line number 124 [Line number may be differ as per different odoo packages]:

* * : group.add_option("--xmlrpc-port", dest="xmlrpc_port", my_default=8069, help="specify the TCP port for the XML-RPC protocol", type="int")

At the given piece of code above you need to replace 8069 with the port number of your own choice,then save the file and restart the server.

0
Avatar
Discard
Ermin Trevisan

Can you explain why one would want to change the code to do that? What about upgrade safety?

Raaj Mishra

Hi Ermin,I can understand your concern,but here we are not changing the code just we are changing the port parameter in config file as you too mentioned above.I hope it should not affect the upgrade.We need to have this procedure to run multiple instances on a same server.

You are welcome to come up with new implementation procedure with detailed information.

Ermin Trevisan

I'm not sure if config.py is upgrade-safe. And I consider it to be easier to change the odoo.conf file instead. And if I have multiple instances on the same server, I also have multiple conf files where I can define the different xmlrpc_ports, isn't it?

Raaj Mishra

Yeah,this too seems fine, I'll through this implementation also and get back,once again thanks for the information.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now