Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3214 Vistas

it's possible? access odoo port 8069 on port 80 apache - Odoo10 Community at Ubuntu Server 16.04.


i have trouble accessing 8069 because SSL, my server SSL only work on port 80.

Avatar
Descartar

You can configure the apache server with site-available.conf file and do the redirection on apache file . Another easy option which is temporary to use port redirection using below command sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069 (Note that once server is restarted this redirection will be removed)

Autor Mejor respuesta

this work for me

add command to /etc/rc.local file and save
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8069

Reboot server, and acces ip no using 8069



Avatar
Descartar
Mejor respuesta

You can configure the apache server with site-available.conf file and do the redirection on apache file . Another easy option which is temporary to use port redirection using below command sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069 (Note that once server is restarted this redirection will be removed)

Avatar
Descartar
Autor

i try the easy option, not work when accessing domain.com