Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enable access to service in development from remote device

See original GitHub issue

I use Tye during development, to orchestrate services locally.

I’m developing a mobile app that I want to run on my device, but yet connect to my local computer.

How do I configure Tye so that I can connect to services from a remote device on the same network. For instance, a mobile phone.

Currently, all services are bound to localhost. The host setting does not work.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

daniel-simpsoncommented, Jun 2, 2021

I’d suggest you check out this project:

You can run this as a docker image on your local in order to get an externally resolveable address that you can use in your app to talk to your local services.

I’d suggest running this outside of tye (with docker directly), but if you need to you could add something like the following to your tye yaml:

Example in Tye:

  - name: ngrok
    image: wernight/ngrok
      - "NGROK_PROTOCOL=<your service protocol, e.g. HTTP>"
      - "NGROK_PORT=<your backend service name, e.g. backend>"

Once it’s running, check the console output from the ngrok container in order to get your address to use in your app

marinasundstromcommented, Jun 4, 2021

@daniel-simpson Too bad. I’m on a M1 Mac 🙁

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Enable Remote Access (4 Methods with Steps)
Another way to use the remote access feature is to grant yourself permission to access a device remotely. You may use this to...
Read more >
Allow log on through Remote Desktop Services
To use Remote Desktop Services to successfully sign in to a remote device, the user or group must be a member of the...
Read more >
How to set up remote access to servers
Here are some benefits of being able to remotely control a server: ... First we will illustrate how to enable remote access to...
Read more >
Windows 10: Allow Access to Use Remote Desktop
Click the Start menu from your desktop, and then click Control Panel. ... Click Allow remote access, located under the System tab.
Read more >
How does Remote Access work?
Remote access means the ability to access remote machines without physically being there. Learn more about the types, benefits & how remote access...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found