Windows 10 Only Shares IPv6 Address
Starting with Windows 8.1, there are times when using the LAN Sharing feature, DesktopServer reports an IPv6 address (this is an address that looks like several octets of hex code rather than the standard IPv4 format of xxx.xxx.xxx.xxx). Unfortunately, this is a function of the operating system and DesktopServer simply returns the information that is reported to it by Windows. In order to work around this, the sharing must be done manually. This can be accomplished by following these steps:
- If you are in DesktopServer, click on “Stop or restart the web and database services —> Next
- Select the “Stop the web and database services.” —> Next
- Once it has stopped the services, click “Close” (this shuts down DesktopServer)
- Open your favorite text editor in administrative mode. If you do not have one, notepad will work. You can access it by clicking on Search and then typing in “Notepad”. If you use a text editor such as Sublime Text, you can use the following instructions as well, replacing the word “notepad” with the name of the text editor you use.
- Right-Click on the Notepad App and then left-click on “Run as Administrator”
- Once your text editor is open, click on “File —> Open”
- Navigate to c:\programdata\DesktopServer
- If using Notepad as your editor, click on the dropdown box that says “Text Documents (*.txt)” and select “All Files (*.*)”.
- Select the file that appears. It is called “com.serverpress.desktopserver.json”. This is your DesktopServer Preferences file which has all of your configurations in it (always a good idea to keep a backup of this file).
- Once open, you’ll see a list of all of your .dev sites. Scroll down to the site you would like to share and you’ll see the last line for each site has a line that says, “share”: “”
- Within the last set of quotes, put your IPv4 address. If you do not know how to find out your IPv4 address, please follow the instructions below. The line will then look like this (as an example): “share”: “192.168.0.90” (where the “192.168.0.90 contains your IPv4 address).
- Save the file.
- Restart DesktopServer.
- You should now be able to access your site from within the LAN.
To access your IPv4 address:
- Click on Search
- Type “cmd”
- Lef-click on “Command Prompt”
- Type “ipconfig”
- You may see several adapters listed. Look for the one that does NOT say “Media disconnected” and take note of the IPv4 Address
- Type “exit” to close the command prompt
Last updated on November 7, 2016