question-mark
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.

Fix binding issues

See original GitHub issue

Currently Lagom binds everything in dev mode to 0.0.0.0, and connects to 127.0.0.1. But, for example, in the case of the service locator, if something is already bound to 127.0.0.1:8000, then binding to 0.0.0.0:8000 will succeed, but when something goes to actually connect to it, it will connect to the wrong thing.

Binding to 0.0.0.0 allows more flexibility as it means for example you could run something in a container or vm and allow it to connect to your services. But, it does mean that this problem can go unchecked.

The ideal solution I think is to bind to both 0.0.0.0 and 127.0.0.1. ::1 would probably also be worthwhile. This can be allowed by having a configurable list of bind addresses. I think it would be fine for this list to be configured build wide - it would be annoying to have to configure it for each service individually.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:20 (15 by maintainers)

github_iconTop GitHub Comments

3reactions
eripcommented, Jun 7, 2018

@michaelahlers That’s really great to hear – nice validation that I’m on the right track. 😄 Hopefully I can finish it up tonight and get it merged. :shipit:

2reactions
michaelahlerscommented, Jun 7, 2018

@erip, checking out 8190446a80d30723dfba736bfcb9a924aa44e0cc did the trick! Thanks for your work on this. 👍

@TimMoore, #1378 fixes my problem! Requests to the local service gateway work as expected (even with VPN interference).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Book Binding: Goodbye to Loose Pages and ...
How to Fix Book Binding: Broken Hinge Edition · 1. Gather Supplies · 2. Cut Your Binder Tape · 3. Brush One Side...
Read more >
How to Troubleshoot Door Binding Problems - Home Guides
1. Spray the hinges with lubrication. Most problems with binding doors occur with the hinges. · 2. Look for binding on the wall...
Read more >
winter 2023 line-up - Fix Binding Co.
Simple, Durable, Functional Snowboard Bindings for Men, Women and Kids. Lifetime warranty on both the base trays as well as the buckle assemblies....
Read more >
What are the Common Binding Machine Problems and How to ...
Here's some of the most common problems people experience with their binding machines as well as some tips on how to fix them...
Read more >
Troubleshooting Assembly Binding Issues in .NET - fuqua.io
As a first step, ensure that all projects in your solution reference the same version of the problematic DLL or NuGet package. This...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found