You are on page 1of 8

Custom DHCP Ranges and Static IP Addresses

By default Connectify Hotspot dynamically selects an IP range for your


hotspot, and uses DHCP to give out automatically chosen IP addresses to
all of your clients. However, for more advanced users, you can manage
them yourself by either specifying a range of IP addresses or statically
configuring them. Custom DHCP Controls is a MAX-only feature.

If you don't actually need clients with static IP addresses, we suggest that
you leave all of these settings in "Dynamically Managed". This allows
Connectify Hotspot to intelligently pick ranges and addresses that will
never conflict with any other connected network.

You can specify a DHCP range in Hotspot via the 'Settings' menu under
'NAT Options'. Setting a DHCP range will tell Hotspot to only assign an
address within the configured IP range.

You can choose to have an IP range of '192.168.x.x' or '10.x.x.x'.


Once you've set a DHCP range for your hotspot, you can set Static IP
addresses for any of your clients that requirethem. Once a device has
connected to the Hotspot you can choose to set a Static IP address via the
Clients Tab by right-clicking on the device and selecting 'Set Static IP
Address' from the menu.

Your Client's IP address must always be inside (i.e. start with) the DHCP
range that you selected. By configuring a Static IP address you are telling
Connectify Hotspot to always assign your device that IP address.
If you want to have access to custom DHCP controls for your Hotspot you
can purchase a MAX license from our online store
here: http://www.connectify.me/store/?coupon=DEAL75
Tutorial Cara Mengakses XAMPP Di Android

Bagi anda yang suka ngoding android dan ingin memasuki dunia data
dinamis (JSON, XML, Dll) , pasti membutuhkan web services sebagai
penyedia data anda. Untuk mempermudah, kita membutuhkan web server
secara local, bisa menggunakan software bundle XAMPP, WAMP Server,
atau menginstal manual Apache dan mysql sendiri. Di sini saya
menggunakan XAMPP.
Supaya android anda bisa mengakses XAMPP yang ada di laptop, kita
harus mensetting supaya antara laptop dan android jadi 1 jaringan. Di sini
saya akan menjelaskan 2 cara supaya laptop dan android menjadi 1
jaringan dan android bisa mengakses localhost/XAMPP yang ada di
laptop, yaitu

1. Menggunakan Access Point / Wifi Router


2. Menggunakan Android anda sebagai hotspot/tethering.
Sebelumnya, kita harus mensetting firewall terlebih dahulu
1. Buka Control Panel, Lalu masuk ke firewall.

2. Klik Allow an app or feature throught Windows Firewall

3. Klik Change settings untuk mendapatkan hak administrator, lalu


cari Apache HTTP Server, dan sentang pada private dan public,
lalu klik OK di bawah.
Setelah mensetting firewall, kita masuk cara supaya android dan laptop
menjadi 1 jaringan / local network / localhost
Cara 1 Menggunakan Access Point / Wifi Router
1. Hubungkan android dan laptop anda dengan wifi yang sama dan
aktifkan xamppnya

2. Buka cmd, lalu ketik ipconfig, cari Wireless LAN adapter lalu cari
Ipv4, contoh di gambar adalah 192.168.1.101

3. Lalu kita coba masukan ip 192.168.1.101 ke browser di android,


jika muncul halaman XAMPP, berati berhasil.
Cara 2 Menggunakan Android anda sebagai hotspot/tethering.

1. Aktifkan hotspot/tethering android anda, lalu hubungkan laptop


anda ke hotspot/tethering tersebut dan aktifkan xamppnya.

2. Buka CMD, lalu ketikan ipconfig, cari Wireless LAN adapter lalu cari
Ipv4, contoh di gambar adalah 192.168.43.211

3. Masukkan 192.168.43.211 pada browser android, jika muncul


dashboard XAMPP, berati berhasil
Jika muncul Access Forbidden, berarti kalian sudah berhasil masuk,
hanya saja untuk ip adrress selain server itu sendiri tidak bisa memasuki
folder xampp (192.168.1.10/xampp) karena alasan keamanan. Untuk
mengatasinya, Anda hanya harus memasukan full url ke browser
androidnya. Misalnya membuatnya di xampp/htdocs/api/pegawai.php,
berarti tinggal memasukan urlnya adalah 192.168.1.10/api/pegawai.php.

You might also like