Unable to preview or inspect your web page on devices? Check these tips to troubleshoot issues with Device Preview in Dreamweaver.

Check these first...

Check if you have met these basic prerequisites for Device Preview. If your problem is still not solved, move on to advanced troubleshooting tips.

Are your devices and Dreamweaver connected to the Internet and are on the same network?

Device Preview does not work if your computer, on which Dreamweaver is running, and your devices are connected to different networks. For example, if your device is using the network connection provided by your mobile service providers and Dreamweaver is running on your home network, Device Preview will not work.

Ensure that all your devices and your desktop computer are on the same network.

Have you enabled JavaScript and cookies in your device browser?

Device Preview requires JavaScript and cookies to be enabled in your devices' browser settings. Go to the browser settings screen on your devices, search for JavaScript and cookies, and enable them.

Are you using the same Adobe ID in Dreamweaver and on devices?

The Device Preview service requires you to log in to your devices using your Adobe ID. This Adobe ID must be the same as the one that you used for purchasing or trying Dreamweaver CC membership. In case you have another Adobe ID, your login is technically authenticated on your device, but you will be unable to preview the page unless you sign in with the ID used in Dreamweaver.

To check which Adobe ID you are currently using for Dreamweaver, click Help > Sign Out <your Adobe ID>.

Have you opened a vaild document to preview?

Technically, you can preview any document that is rendered in Live view of Dreamweaver on your devices. So, you can preview documents such as HTML and PHP on your devices. When you try to preview other files, such as CSS, XML, LESS, and JS, an error is displayed on your devices indicating that a valid document must be opened in Dreamweaver for preview.

Do you have the required access to the Device Preview service?

If you are using an enterprise account for Dreamweaver, you may not have access to the Device Preview service. Contact your system administrator to ensure that you have the required permissions to use the service.

Advanced troubleshooting

Couldn't launch the Device Preview service

Dreamweaver runs a local HTTP, node server for the Device Preview service on a random port assigned by the node. Device Preview will not work if one or both of the following is blocked by your system administrator:

  • The random port assigned by the node server
  • The IP address of the localhost, 127.0.0.1

Perform the following steps to address this issue:

  1. Relaunch Dreamweaver. In case Dreamweaver was unable to create the node server instance, restarting Dreamweaver will address the issue.

    If this doesn't help, proceed to step 2 and 3.

  2. Assign a specific port for the Device Preview services from the node server. You need to add this port number in a NodePort.json file along with the key for device preview. The process for doing so is described here

Creating a NodePort.json file

  1. Create a file, NodePort.json, and specify the port number in the file in the following format:

    Note:

    Ensure that this port number is not blocked by your system administrator.

    {
    “previewport” : <portnumber>
    }
    

    For example, if 8010 is the port number that you want to use:

    {
    “previewport” : 8010
    }
    

    Note:

    If you have already created a NodePort.json file with a key value pair in it, use comma to separate the new key value pair or specify the new key value pair in a separate line.

  2. Save the NodePort.json file in the following path:

    • Win: %appdata%\Adobe\Dreamweaver CC 2015\en_US\Configuration
    • Mac~/Library/Application Support/Adobe/Dreamweaver CC 2015/en_US/Configuration
  3. Relaunch Dreamweaver.

Firewall settings blocking connections to Dreamweaver

Devices cannot connect to Dreamweaver if the firewall settings on your desktop computer or in your enterprise firewall block connections from external devices. 

  1. Configure the firewall settings on your computer to allow connections from external devices. If you are using an office computer, contact your system administrator for any assistance.

    If your firewall is configured to prompt when external devices try to connect, then you will prompted to allow access to the Dreamweaver node server. For example, if you have configured Windows firewall, a prompt appears with the Allow Access option. Choose the appropriate network (Public or Private), and then click Allow Access.

    Note: To check which network your computer is on, open the Windows Firewall settings from the Control Panel and check the settings.

  2. Assign a specific port for the Device Preview services from the node server. You need to add this port number in a NodePort.json file along with the key for device preview. The process for doing so is described here

Proxy server settings blocking connections to external devices

Device Preview may not work if the IP address of the computer on which Dreamweaver is running is not in the white list of the proxy server.

Contact your system administrator to add your computer to the white list in the proxy server settings.

JavaScript and cookies are not enabled in your device browsers

Device Preview requires JavaScript and cookies to be enabled in your devices' browser settings. Go to the browser settings screen on your devices, search for JavaScript and cookies, and enable them. Then, rescan the QR code to preview your web page on the device.

Preview isn't working; I am redirected to this article

You are redirected to this article in the following scenarios:

  • Devices cannot connect to Dreamweaver
    • Your device and Dreamweaver are on different networks

      Device Preview does not work if your computer, on which Dreamweaver is running, and your devices are connected to different networks. For example, if your device is using the network connection provided by your mobile service providers and Dreamweaver is running on your home network, Device Preview will not work.

      Ensure that all your devices and your desktop computer are on the same network and then try previewing your web page.

    • Firewall settings on your computer are preventing incoming connections from devices.
  • You are accessing an invalid or an old URL (the short adobe.ly URL) from your devices. Rescan the QR code to preview the page on your devices.
  • You are accessing the web page through Internet Explorer 11 on an Windows 8.1 Pro OS. Ensure that the version of Internet Explorer is 11.0.9600.17690 or later, or use a different browser to preview.
  • An internal error occurred. Try previewing your web page after sometime or restart Dreamweaver.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy