Rightclick the network icon in the notification area, and then click Open Network and Sharing Center. In the window that opens, click Change adapter settings to display the available network adapters of the machine. Right-click the adapter you are about to change the IP settings and then click Properties. Click Internet Protocol Version 4 (TCP
Berdasarkancara kerjanya, DHCP dibagi menjadi 2 arsitektur, yaitu DHCP Server dan DHCP Client. Berikut pengertiannya: DHCP Server adalah perangkat jaringan yang menyediakan IP, DNS, default gatewaym dan berbagai informasi TCP/IP untuk komputer client yang memintanya. Beberapa sistem operasi yang menyediakan layanan DHCP Server meliputi Windows NT server, windows 2003 server, GNU atau linux. Installthe program and authorize under the created data. Now, on one of the PCs logged in Hamachi click on " Create a new network ", enter ANY network name and any password. The new network will appear in the window. Now open TLauncher, choose the version with the TL icon and run the game (it is better to login to the PadaWindows search bar, ketik "ncpa.cpl" dan tekan enter. Jika anda menggunakan Windows 10, ikuti petunjuk dibawah ini. Pada keyboard, tekan tombol "Windows" dan "R"secara bersamaan. masukkan "ncpa.cpl" pada windows yang pop up.. Note: Network connections akan menampilkan network adaptor yang saat ini terhubung ke komputer Anda. 2. 3 Try this: import socket def get_ip (): s = socket.SOCK_DGRAM) try: # doesn't even have to be reachable s.connect ( ('', 1)) IP = s.getsockname () [0] except: IP = '127.0.0.1' finally: s.close () return IP. Then use get_ip () to get your ip. Reference : Finding local IP addresses using Python's stdlib.ForWindows 2000, Windows XP, or Windows Server 2003, you can determine whether your computer is using APIPA by using the IPconfig command at a command prompt: Click Start , click Run , type "cmd" (without the quotation marks), and then click OK to open a MS-DOS command line window. Type "ipconfig /all" (without the quotation marks), and then59Af.