[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force curl to use IPv4 #758

Merged
merged 1 commit into from
Apr 8, 2015
Merged

Conversation

nicinabox
Copy link
Contributor

Due to a curl bug, curl localhost doesn't work if there's an IPv6 entry in /etc/hosts (I believe OSX Yosemite has this by default).

Say you've run npm start manually. When you run your project from XCode the build will fail citing:

Connection to localhost port 8081 [tcp/sunproxyadmin] succeeded!
Port 8081 already in use, packager is either not running or not running correctly

On any subsequent compile you must quit the packager first before compilation to avoid the compile time error (PITA).

There is only one packager instance running, but the script fails to detect the instance properly. Another possible solution (instead of forcing IPv4 mode) would be to use 0.0.0.0 in place of localhost.

Due to a curl bug, `curl localhost` doesn't work if there's an IPv6 entry in /etc/hosts
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 8, 2015
@frantic
Copy link
Contributor
frantic commented Apr 8, 2015

Sweet, thanks! There is another mention of curl if you are interesting in helping out more :)

frantic added a commit that referenced this pull request Apr 8, 2015
@frantic frantic merged commit 83fbef5 into facebook:master Apr 8, 2015
@nicinabox
Copy link
Contributor Author

Np. I'll send a PR with those references updated as well.

ayushjainrksh referenced this pull request in MLH-Fellowship/react-native Jul 2, 2020
* bump Android SDK to 28

* update versioned_docs
mganandraj pushed a commit to mganandraj/react-native that referenced this pull request Oct 28, 2021
* Add nullability checks (facebook#704)

* Update RCTCxxBridge.mm

* add nullability checks

* fix up failing podfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants