The output lists the DHCP status of your Ethernet adapter Local Area Connection. You can also enter a value for Alternate DNS server if you want.Īn easy method of determining this is to use the ipconfig /all command from the command line. Also, select the Use the following DNS server address option and enter a value for Preferred DNS server. Then, enter the appropriate values for IP address, Subnet mask, and Default Gateway. If you want to disable DHCP and manually define your network settings instead, select the Use the following IP address option.
Click the Internet Protocol Version 4 option and click the Properties button.On the network connection status window, click the Properties button.Double-click the active network connection. You should see at least two types of network connections: Ethernet and Wi-Fi.
#Windows 8 tcp ip code
On the Windows desktop, press the Windows key+ X on the keyboard to open the Power User menu. To make sure nothing in my server application is causing this issue, I built a quick TCP server in a console application, with the following code for the socket constructor: listenerSocket new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp) and listen on the same local IP/Port as my server application.Entering wrong settings can result in your Internet or Network connection not working anymore. When disabling DHCP and using a static IP address, make sure you know and enter all the correct settings.