Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
3534 Переглядів

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.

Аватар
Відмінити

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)

Автор Найкраща відповідь

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



Аватар
Відмінити
Найкраща відповідь

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)

Аватар
Відмінити
Автор

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