Skip to content
Tutorial emka
Menu
  • Home
  • Debian Linux
  • Ubuntu Linux
  • Red Hat Linux
Menu

Cara mengganti Port Default Aplikasi Odoo

Posted on February 13, 2024

Sebelum kita masuk ke langkah-langkahnya, penting untuk memahami mengapa Anda mungkin perlu mengubah port default. Port standar untuk Odoo adalah 8069. Namun, mengubahnya dapat meningkatkan keamanan dengan mengurangi prediktabilitas setup sistem Anda. Selain itu, jika Anda menjalankan beberapa instance Odoo atau aplikasi lain, mengganti port dapat mencegah konflik dan memastikan operasi yang lebih lancar.

Prasyarat

  • Instalasi Odoo: Pastikan Odoo sudah terinstal di server Anda.
  • Akses Server: Akses administratif atau root ke server tempat Odoo di-host.
  • Pengetahuan Dasar: Familiaritas dengan operasi baris perintah dan manajemen server.

Langkah 1: Temukan Berkas Konfigurasi Odoo

Langkah pertama adalah menemukan berkas konfigurasi Odoo. Berkas ini biasanya berada di /etc/odoo.conf atau /etc/odoo/odoo.conf, atau /etc/odoo[versi].conf tergantung pada instalasi Anda.

sudo nano /etc/odoo.conf

Atau

sudo nano /etc/odoo/odoo.conf

Langkah 2: Modifikasi Nomor Port

Dalam berkas konfigurasi, cari baris yang menentukan port. Biasanya muncul sebagai:

xmlrpc_port = 8069

Ganti 8069 dengan nomor port yang Anda inginkan. Pastikan port baru tidak digunakan oleh layanan lain dan terbuka dalam pengaturan firewall Anda.

xmlrpc_port = 8090

Setelah mengubah nomor port, simpan perubahan dan keluar dari editor teks. Misalnya, di nano, Anda akan menekan CTRL + X, kemudian Y untuk mengonfirmasi, dan Enter untuk keluar.

Langkah 3: Restart Layanan Odoo

Agar perubahan berlaku, restart layanan Odoo. Ini dapat dilakukan dengan perintah berikut:

sudo service odoo restart

Atau, tergantung pada instalasi Anda,

sudo systemctl restart odoo

Langkah 4: Verifikasi Perubahan

Untuk memastikan bahwa perubahan port berhasil, akses Odoo melalui browser web Anda menggunakan port baru:

http://contohdomain.com:8090

Gantilah 8090 dengan nomor port yang Anda tentukan, dan namadomainserver.com dengan domain server atau alamat IP sebenarnya.

Kesimpulan

Mengganti port default Odoo adalah proses yang sederhana namun dapat berdampak signifikan pada keamanan dan efisiensi sistem Anda. Dengan mengikuti langkah-langkah ini, Anda dapat menyesuaikan instalasi Odoo sesuai dengan lingkungan operasional Anda dan meningkatkan manajemen sistem secara keseluruhan.

Ingatlah, meskipun mengganti port adalah tugas yang mudah, selalu pastikan Anda memiliki cadangan yang tepat dan memahami konsekuensi membuat perubahan, terutama dalam lingkungan produksi.

Recent Posts

  • Is it Time to Replace Nano? Discover Fresh, the Terminal Text Editor You Actually Want to Use
  • How to Design a Services Like Google Ads
  • How to Fix 0x800ccc0b Outlook Error: Step-by-Step Guide for Beginners
  • How to Fix NVIDIA App Error on Windows 11: Simple Guide
  • How to Fix Excel Formula Errors: Quick Fixes for #NAME
  • How to Clear Copilot Memory in Windows 11 Step by Step
  • How to Show Battery Percentage on Windows 11
  • How to Fix VMSp Service Failed to Start on Windows 10/11
  • How to Fix Taskbar Icon Order in Windows 11/10
  • How to Disable Personalized Ads in Copilot on Windows 11
  • What is the Microsoft Teams Error “We Couldn’t Connect the Call” Error?
  • Why Does the VirtualBox System Service Terminate Unexpectedly? Here is the Full Definition
  • Why is Your Laptop Touchpad Overheating? Here are the Causes and Fixes
  • How to Disable All AI Features in Chrome Using Windows 11 Registry
  • How to Avoid Problematic Windows Updates: A Guide to System Stability
  • What is Microsoft Visual C++ Redistributable and How to Fix Common Errors?
  • What is the 99% Deletion Bug? Understanding and Fixing Windows 11 File Errors
  • How to Add a Password to WhatsApp for Extra Security
  • How to Recover Lost Windows Passwords with a Decryptor Tool
  • How to Fix Python Not Working in VS Code Terminal: A Troubleshooting Guide
  • Game File Verification Stuck at 0% or 99%: What is it and How to Fix the Progress Bar?
  • Why Does PowerPoint Underline Hyperlinks? Here is How to Remove Them
  • AI Bug Hunting with Semgrep
  • What is the Excel Power Query 0xc000026f Error?
  • How to Build Your Own Homelab AI Supercomputer 2026
  • Inilah Cara Pakai Astute FF Beta Apk 2026, Rahasia Unlock Server 2.0 Tanpa Verifikasi!
  • Inilah Ketentuan Foto UM-PTKIN 2026 yang Benar Biar Nggak Gagal Verifikasi Administrasi
  • Inilah Cara Persiapan E IJAZAH 2026 yang Benar Buat Operator Sekolah Agar Data Siswa Aman dan Valid
  • Inilah Cara Cek Status PKH April 2026 Secara Akurat, Dana Bansos Sudah Masuk Rekening Belum Ya?
  • Inilah Spesifikasi Vivo Y31d Pro, HP Murah dengan Baterai 7.000 mAh dan Bodi Tahan Banting Ekstrem
  • A Complete Tutorial on How to Self-Host Convex on a VPS for Real-Time App Sync
  • Complete tutorial on creating high-quality realistic AI videos with ultra-realistic skin and cinematic camera movements
  • Complete Tutorial: Exploring Hermes Agent v0.8.0 Features for Better AI Workflows
  • How to Master PixelSmile: A Complete Tutorial for Fine-Grained Facial Expression Editing in ComfyUI
  • How to Create Ultra-Realistic Talking AI Characters with LTX and ComfyUI: A Complete Workflow Tutorial
  • Apa itu Spear-Phishing via npm? Ini Pengertian dan Cara Kerjanya yang Makin Licin
  • Apa Itu Predator Spyware? Ini Pengertian dan Kontroversi Penghapusan Sanksinya
  • Mengenal Apa itu TONESHELL: Backdoor Berbahaya dari Kelompok Mustang Panda
  • Siapa itu Kelompok Hacker Silver Fox?
  • Apa itu CVE-2025-52691 SmarterMail? Celah Keamanan Paling Berbahaya Tahun 2025
©2026 Tutorial emka | Design: Newspaperly WordPress Theme