-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
invalid url printed from simple loopback application #3179
Comments
@sam-github Good catch. I think this is a bug in the code building the Lines 543 to 561 in 304ecc4
Because you are not using What is the IPv6 equivalent of |
The IPv6 equivalent is Then I read this and tried with Firefox, and it does work, and tried the suggestion above, and it didn't work with Chrome. The CLI enable flag mentioned for Chrome didn't work for me (and wouldn't work anyhow for customers). So, I'm at a loss. Google hates localhost IPv6? On the other hand, on most systems, I think, an IPv6 address on |
nodejs/node#9390 (comment) <--- looks relevant |
@sam-github thanks for the update. My take is that we should fix the code building the URL to detect Thoughts? Would you like to contribute this fix yourself? |
@bajtos I'm sorry, I am overloaded, and don't have time to make the fix. It maybe isn't even a big deal, it seems I did something unusual? Maybe flag as "good first contribution"? I don't think there is an inconsistency, listening on |
Great idea, let's leave it at this :) |
@sam-github @bajtos you can try to use the ipfox to check if the loopback server support ipv6. In my case, I got apple rejected from not being able to support NAT64 ipv6 and the loopback-boot is deployed and hosted on heroku. now I am trying to think if loopback has any configurations in coding to enabled ipv6 server listening. I also learned that HTTP Routing for ipv6 is not supported by heroku and does it mean i have nothing to do to fix it? Consider that Cedar14 is deployed and used on my current host. Since I learned that Cedar is based on Ubuntu14.04. It should be supported according to this chart. I looked at the configuration guide version 3.6.0 the latest iteration and I did not find any configurations to support ipv6 listen. Maybe we can add some additional text on it. |
we might can close this issue as resolved by #3450 :) |
It looks like @bajtos fixed this to me, I'm OK with closing. |
Bug/Feature request
The application was basically copied from the
yo loopback
output for hello world:Put that in a directory with no loopback directory structures, but loopback installed as a dep, and run it.
Output is
Which is an invalid URL.
Expected result
Additional information
node -e 'console.log(process.platform, process.arch, process.versions.node)'
npm info loopback
node -e "require('net').createServer().listen().on('listening', function(){console.log(this.address())})"
@bajtos
also:
The text was updated successfully, but these errors were encountered: