Making my local site available to my colleagues over the internet

What issue or error are you experiencing?

I have been trying to use ngrok and LocalXpose to put my local site on the internet so that my colleagues can see my progress. I just don’t seem to be able to get the site running online. For one thing, I can’t easily see what port local is using on my mac - I think it’s 10018 (found this by going to advanced settings and changing router mode to local host, then changing it back again. I put this info into either ngrok or LocalXpose and I see the tunnel working. I can access the site on Chrome (when I use the address given by these platforms on my machine, but as soon as I send it to another mac, I get an error - ngrok: ERR_NGROK_3200 Tunnel not found. and a similar error from LocaXpose.

Local is running (on Firefox).

MacOS Ventura 13.4
Local Version 7.1+6396
Firefox 118.0.2 (64-bit)
Chrome Version 117.0.5938.149

ANY help would be greatly appreciated as I have been battling with this for about a week now!!

What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc


System Details

  • Local Version:

  • Operating System (OS) and OS version:


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)

error.log (1.6 MB)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @Wilfredo

Our Live Links feature can allow for sharing of your site for others to view. It isn’t editable but can give a snapshot or preview of how things are looking:

Otherwise, you could push your Local site up to a Demo or Staging site somewhere. For example, Flywheel has 14-day free demos available. Demo Site

Hello Nick.

Thanks for the email

I can get the site up and people can see it on their machines, it’s just that some of the images seem to be missing and a few of the pages don’t load properly at all. They look fine on my local machine…

Wilfredo

Something that might be contributing to these issues is that Live Links don’t match your Local Site URL (ie: mysite.local), so Local attempts to rewrite these on the fly. Live Links is broadly compatible with many themes, plugins, and custom code snippets. However, some images, front-end assets, or other HTML elements may be missing from your site when viewing it over Live Links. Try the tips below:

  • Run the following WP-CLI command
    wp search-replace 'SITEURL' 'LOCALURL' --skip-columns=guid

  • Replace SITEURL with your production URL like https://localwp.com

  • Replace LOCALURL is your Local Site URL like http://mysite.local

  • Trust Local’s SSL certificate

  • Disable certain types of plugins: caching, security, force HTTPS/SSL

If you’re still having issues you might open up the console of the page and see what errors are present. Is it still showing some mixed content or some other type of issue?

You might try viewing it in an incognito window, a different browser, or over LTE Data instead of WiFi to see if caching is getting in the way as well.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.