HVF / HVF/franchise

Cannot connect to the bridge when using host other than localhost

Open Beginner friendly
#66 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4k
Forks
262
PR merge metrics
No merged PRs in 30d

Description

https://github.com/HVF/franchise/blob/b541e65ade270d86da27dcfd56a7d1a3ee004127/src/db/bridge.js#L13

This line needs to take into account whatever host was set when running `yarn start --host=MYHOST_IP`

Otherwise, it's nothing but a nice web app that can run locally only.

Nice work though!

Contributor guide

Open the contributing guide

Research direction

Start at src/db/bridge.js line 13 and trace how the bridge receives connection settings when running `yarn start --host=MYHOST_IP`. Verify the bridge connects using the configured host rather than assuming localhost, then test the app with a non-localhost host value.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.