Anda di halaman 1dari 2

MENGECEK PORT YANG SUDAH TERPAKAI DI WINDOWS :

Buka CMD dan ketikkan perintah dibawah :

- netstat (tanpa menampilkan PID – Process ID)

- netstat -aon (menampilkan dengan PID – Process ID)


MENGGANTI PORT APACHE YANG SUDAH TERPAKAI OLEH
APLIKASI ATAU SISTEM (CASE PORT 443 PADA httpd-ssl.conf
terpakai oleh VMWare)

1. File httpd.cof
Port default : 80
Bila tidak bermasalah tidak usah diganti port nya

Cara mengganti port :


- Buka XAMPP Control panel
- Klik tombol config pada bagian Apache
- Buka Apache (httpd.conf)
- Ganti Konfigurasi
#Listen 12.34.56.78:80
Listen 80 biasanya diganti jadi 8080 dan mengakses localhost menjadi localhost:8080

# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName localhost:80 diagnti menjadi 8080 menyesuaikan nomor port awal

2. File httpd-ssl.cof
Port default : 443
Bila tidak bermasalah tidak usah diganti port nya

Cara mengganti port :


- Buka XAMPP Control panel
- Klik tombol config pada bagian Apache
- Buka Apache (httpd-ssl.conf)
- Ganti Konfigurasi
# standard HTTP port (see above) and to the HTTPS port
#
Listen 443 diganti menjadi 4499

<VirtualHost _default_:443> diganti menjadi 4499

# General setup for the virtual host


DocumentRoot "C:/xampp/htdocs"
ServerName www.example.com:443 diganti menjadi 4499

Anda mungkin juga menyukai