Skip to main content
johnf62851684
Participant
February 13, 2018
Answered

Cant use mobile preview for dreamweaver

  • February 13, 2018
  • 2 replies
  • 917 views

Hello. I can't seem to get the mobile preview option working. I tried using the adobe chat but they just gave up eventually and left the chat while I was following their instructions

https://helpx.adobe.com/dreamweaver/using/device-preview.html

https://helpx.adobe.com/dreamweaver/using/device-preview-troubleshooting.html

I have followed all the steps in these trouble shooting guides. My phone, android moto x, is connected to the same network over wifi as my PC is over ethernet.

Logged into the account successfully. Tried opening in firefox and chrome on my mobile. I tried disabling my windows firewall and avast antivirus.

Javascript and cookies are enabled on the browser. I even tried the advanced trouble shooting options with the NodePort.json file which did nothing.

Any advice would be great thanks a lot.

    This topic has been closed for replies.
    Correct answer Jon Fritz

    My only advice would be to stop trying to use the flawed feature and set up a local testing server instead.

    That way, all devices connected to your network can preview all sites you have created, at any time, without the need to scan anything or rely on Adobe's servers.

    Setting up a testing server like XAMPP or MAMP is dead simple and once it's installed, all you do is...

    1. move your site's root folders within the server root folder (htdocs for XAMPP)
    2. change the DW site definitions to point to the new location
    3. turn on the server (right click the server program icon and run as administrator, then click Start)

    From there on out you use your local machine's IP followed by the site root to preview on any device connected to your network (the server barely uses any resources and can be left on all the time). For example: 123.456.789.0/MyAwesomeSite will bring you to the index page in the MyAwesomeSite folder, 123.456.789.0/MyOtherAwesomeSite will bring you to the index page in the MyOtherAwesomeSite folder.

    How to set up a testing server in Dreamweaver

    XAMPP Installers and Downloads for Apache Friends

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    February 14, 2018

    I also use Jon's workflow with a local testing server.   The only difference is I use Wamp.   See screenshots.

    Nancy O'Shea— Product User & Community Expert
    johnf62851684
    Participant
    February 16, 2018

    Thank you for your advice Nancy. I decided to go with Jon's suggestion of XAMPP initially and successfully set it up.

    I still can't view the server on other devices on my network though, only the PC hosting the server.

    I could install WAMP and try and see if it works, but it is my understanding at this point the issue is not in setting up the server but more the accessibility of my PC over the home network.

    So with that in mind I don't think WAMP will solve the problem, unless it handles sending the information differently than adobe/XAMPP and could bypass the issue im encountering?

    Thanks for any suggestions.

    BenPleysier
    Community Expert
    Community Expert
    February 16, 2018

    There should be no difference in outcomes when using XAMPP or WAMP.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    Jon Fritz
    Community Expert
    Jon FritzCommunity ExpertCorrect answer
    Community Expert
    February 13, 2018

    My only advice would be to stop trying to use the flawed feature and set up a local testing server instead.

    That way, all devices connected to your network can preview all sites you have created, at any time, without the need to scan anything or rely on Adobe's servers.

    Setting up a testing server like XAMPP or MAMP is dead simple and once it's installed, all you do is...

    1. move your site's root folders within the server root folder (htdocs for XAMPP)
    2. change the DW site definitions to point to the new location
    3. turn on the server (right click the server program icon and run as administrator, then click Start)

    From there on out you use your local machine's IP followed by the site root to preview on any device connected to your network (the server barely uses any resources and can be left on all the time). For example: 123.456.789.0/MyAwesomeSite will bring you to the index page in the MyAwesomeSite folder, 123.456.789.0/MyOtherAwesomeSite will bring you to the index page in the MyOtherAwesomeSite folder.

    How to set up a testing server in Dreamweaver

    XAMPP Installers and Downloads for Apache Friends

    johnf62851684
    Participant
    February 14, 2018

    Thanks a lot for the advice Jon.

    I installed XAMMP and followed your instructions. I can sucessfully view the site on my PC using "localhost/sitefoldername", so that means I have everything set up properly?

    But I still cannot view it on my mobile device. I kept getting directed to my router log in page on my phone. I did some more research and it was suggested I set up a static IP address and do some port forwarding for the Apache server I had set up using XAMMP.

    So I did that, got my static IP and forwarded the 80 and 443 ports on my router settings for the new static IP.

    Now when I type that "staticip/sitefoldername" it just says "This site can't be reached".

    It still works on my PC though, using the the new static IP.

    Any ideas?

    Thank you for your time.

    Jon Fritz
    Community Expert
    Community Expert
    February 14, 2018

    Did you get your specific machine's local IP address (via command prompt), or are you using the router address (from an online "what is my IP" style site)?

    You will need the local machine IP, which won't be anything like the IP the world sees when you go online. There's nothing to mess with as far as ports go.

    If you are using your machine's local network IP address, the error you're seeing is usually caused by either forgetting to start Apache on the server, or not running XAMPP as Admin.

    If your server is running, go ahead and close it out by choosing Quit from the server admin panel (closing it just runs it in the background). Right click the XAMPP program icon and choose Run As Administrator, then start Apache.

    That should do the trick for you.