Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

change to port 80 instead of 8069

Subscriure's

Get notified when there's activity on this post

This question has been flagged
port80
9 Respostes
130092 Vistes
Avatar
Jad Tabet

Hello, Am running OpenERP v7.0 on Ubuntu release 11 , I want to change the web application port to 80 instead of 8069.

I tried the following: my configuration file is /etc/openerp/openerp-server.conf It contained only the information relative to the database, I added to it xmlrpc_port = 80 and xmlrpc = True.

when I rebooted openerp , the web application didnt' restart.

3
Avatar
Descartar
Daniel Reis

Did you look at the server log?

Free Office Solutions

Then add the following lines to your httpd.conf:

SetEnv force-proxy-request-1.0 1
ProxyPass / <a href="http://127.0.0.1:8069/">http://127.0.0.1:8069/</a>
ProxyPassReverse / <a href="http://127.0.0.1:8069/">http://127.0.0.1:8069/</a>

The port and the IP address can/must be changed if you used different IP/port.

Avatar
Jasad Moozhiyan
Best Answer

Hi,

Please we can run odoo on port 80 with the help of Nginx reverse proxy server. Please refer the below links. Hope this will help you.

http://www.technaureus.com/how-to-run-odoo-on-port-80/

http://www.technaureus.com/how-to-setup-nginx-for-odoo/

1
Avatar
Descartar
Avatar
Brett Lehrer
Best Answer

I've had trouble just changing the port to 80 as well. I suspect you'll run into the same problem with any other port under 1024. The quick, dumb, and effective fix is to just throw in an iptables line to forward traffic on port 80 to port 8069. This script will add the line into your current configuration:

#!/bin/bash
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8070
iptables-save

Make sure to change eth0 if needed. Also threw in HTTPS settings too, but if you want to use HTTPS you might as well set up a reverse proxy in nginx. Article is about a year old but follow the steps and it should work perfectly on 7.0.

This change doesn't last through a reboot though, so you'll have to do a bit more work to get it to persist, but this will certainly get you started.

6
Avatar
Descartar
Jad Tabet
Autor

What a beautiful solution, never thought of IP Tables. if you want to make the script boot at startup. https://help.ubuntu.com/community/IptablesHowTo

Jairo Llopis

In debian, to make it persistent use the iptables-persistent package.

Avatar
Vimal Rughani
Best Answer

Hi All,

I know, I am too late to answer this, but this answer might be help full to other. Few days ago, I am having same issue, after searching a lot on Interent and experiment with few things, I got solution. I am working on Ubuntu 14.04 (This solution also work on Ubuntu 12.04).

  1. Go to terminal open rc.local file. rc.local file reside in etc folder.
    sudo gedit /etc/rc.local
  2. Paste this command on rc.local file and save
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8069
  3. Reboot Ubuntu, to see effect
    sudo reboot

This work perfectly, as per my need. I have created article on this, you can check more details here http://pulse7.net/openerp/run-odoo-port-80-instead-8069/

5
Avatar
Descartar
Avatar
Rami Tobasi
Best Answer


Hi

By default, Odoo runs on Port 8069, but in some cases, you may want to change it to Port 80 for easier access or to align with your existing web server configurations. the video tutorial will provide you with the necessary instructions to make this modification.


https://youtu.be/d8IWr8QGaOA


Best Regards

Tobasi 

0
Avatar
Descartar
Avatar
Sathwik
Best Answer

Hi,

Iam using Windows os, can anyone help me in converting the port 8069 to 80, my aim is to host the website built in a website builder in odoo.

0
Avatar
Descartar
Arsalan

Hi Sathwik,

To change the default port to 80 in windows is simple. Just goto the configuration file of Odoo and change the xmlrpc_port = 80.

It should work.

Avatar
Jad Tabet
Autor Best Answer

Hello,

No am sure that no other service is using port 80, the port is not opened . ( tried telnet to the linux machine on port 80)

0
Avatar
Descartar
Avatar
Landis Arnold
Best Answer

Just spent quite a bit of time on this.

My solution would not work following the path of changing openerp-server.conf except for 

adding 127.0.0.1 at the end of xmlrpc-interface= and netrcp-interface=

OpenErp and now Odoo needs its own Ports still) (such as 8069)


Used Apache to Redirect 80 to 443 (Http invokes HTTPS)

Used a Apache Reverse Proxy to route 443 to the Server on  8069.  

8069 itself is now only can only be connected to by the Server Itself (changed setting in openerp-server.conf) so no "unsecure" html is going outbound. 

  • xmlrcp-interface=127.0.0.1

  • netrpc-interface=127.0.0.1

The whole system is running in SSL on 443 now.

I know others have done this, just needed to tie my system together and ended up seeing this post along the way.  I am sure there are several solutions.

0
Avatar
Descartar
Avatar
ESLAM ElGINDY
Best Answer

i just use nginx  to redirect every url request to port 8069 

0
Avatar
Descartar
Avatar
Rashmin Lumbhani (RLU)
Best Answer

Hi Jad,

You might find this solution from ADempiere ERP bit more elegant: http://www.adempiere.com/Proxy_Adempiere_Through_Apache

Note that a few changes were made to fit the purpose of running OpenERP but credit goes to the author of the original post.

Set up Apache:

In httpd.conf (/etc/httpd/conf/httpd.conf in Fedora)

Enable modules for proxy (normally enabled by default):

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so

Then add the following lines to your httpd

-1
Avatar
Descartar
Jaysinh Shukla (jsh)

this is test

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

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

Registrar-se
Related Posts Respostes Vistes Activitat
How to change the default port (8069) used by odoo server Solved
port
Avatar
Avatar
Avatar
9
d’abr. 23
149190
Using port 80 instead of 8069 on Windows 2008 Server Solved
port 80 redirect 8069
Avatar
Avatar
Avatar
3
d’ag. 16
10956
Change the password resend links etc after changing the port
port
Avatar
0
de març 15
4037
Report problem when accessing Odoo with port 80 Solved
v8 report port 80 8069
Avatar
Avatar
Avatar
Avatar
5
d’oct. 18
9559
RuntimeError: Couldn't bind the websocket. Is the connection opened on the evented port (8072)? v17 & v18
configuration port
Avatar
Avatar
1
de set. 25
3577
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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