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

Using any IP dosen't work, spits out either ERR_CONNECTION_TIMED_OUT or ERR_CONNECTION_REFUSED. #177

Closed
JoshKellyIsLying opened this issue Jan 3, 2025 · 20 comments

Comments

@JoshKellyIsLying
Copy link

I've finally installed it correctly but when i try to use the IP i used it dosen't work and gives one of the errors on the title. I've tried MINE, I've tried LOCAL ones, heck, even random ones but NOTHING works.

@breakgimme
Copy link
Collaborator

have you tried 127.0.0.1?

@JoshKellyIsLying
Copy link
Author

have you tried 127.0.0.1?

that did not work

@breakgimme
Copy link
Collaborator

then it's most likely an issue on your end, it works for me

@JoshKellyIsLying
Copy link
Author

then it's most likely an issue on your end, it works for me

if it does, what port did you put?

@breakgimme
Copy link
Collaborator

then it's most likely an issue on your end, it works for me

if it does, what port did you put?

i used 80, but on some platforms yt2009 might not launch with it (on windows it should be fine)

@JoshKellyIsLying
Copy link
Author

then it's most likely an issue on your end, it works for me

if it does, what port did you put?

i used 80, but on some platforms yt2009 might not launch with it (on windows it should be fine)

using win 10. do you have any idea or something on how to fix this?

@JoshKellyIsLying
Copy link
Author

Still no help..

@SavunOski
Copy link
Contributor

SavunOski commented Jan 4, 2025

You might want to try using WSL or host on the cloud

@ftde0
Copy link
Owner

ftde0 commented Jan 4, 2025

yt2009 isn't supported on Windows, you might want to try using WSL or host on the cloud

please don't spread misinformation, all development is done on Windows, so it is in fact supported.

@JoshKellyIsLying you may have some program blocking port 80. if no other ports work, maybe some windows firewall thing? if you get any errors while starting up, sending them here would probably give a lead on what's going on

@JoshKellyIsLying
Copy link
Author

@JoshKellyIsLying you may have some program blocking port 80. if no other ports work, maybe some windows firewall thing? if you get any errors while starting up, sending them here would probably give a lead on what's going on

I get this error when i run yt2009 after-setup:
DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
i don't know if it is related though

@ftde0
Copy link
Owner

ftde0 commented Jan 8, 2025

nothing else? maybe something up with your firewall settings then? try a different port

@JoshKellyIsLying
Copy link
Author

nothing else? maybe something up with your firewall settings then? try a different port

i've tried 8080 before, tat didnt work

@JoshKellyIsLying
Copy link
Author

nothing else? maybe something up with your firewall settings then? try a different port

i remember also putting the firewall settings to be public net instead of private but i don't really know

@ftde0
Copy link
Owner

ftde0 commented Jan 10, 2025

could as well be that, you can always change those in windows firewall advanced settings, changing both inbound and outbound rules for nodejs

@Wer0000
Copy link

Wer0000 commented Jan 10, 2025

nothing else? maybe something up with your firewall settings then? try a different port

i remember also putting the firewall settings to be public net instead of private but i don't really know

it's still worth updating your code or the library you're using to use alternatives to the punycode module, as it's really outdated.

@Wer0000
Copy link

Wer0000 commented Jan 10, 2025

I've finally installed it correctly but when i try to use the IP i used it dosen't work and gives one of the errors on the title. I've tried MINE, I've tried LOCAL ones, heck, even random ones but NOTHING works.

Try to find out what process 127.0.0.1 is using I will provide a PowerShell command

Get-Process -Id (Get-NetTCPConnection -LocalPort 80).OwningProcess

Provide what you are seeing in PowerShell so we can see what to do next.

@ftde0
Copy link
Owner

ftde0 commented Jan 10, 2025

it's still worth updating your code or the library you're using to use alternatives to the punycode module, as it's really outdated.

the punycode module is not used by yt2009 itself, but - from what i can see - it is a part of the (older version of) node-fetch used by yt2009. updating it would come with a whole host of other problems unfortunately.

@JoshKellyIsLying
Copy link
Author

I've finally installed it correctly but when i try to use the IP i used it dosen't work and gives one of the errors on the title. I've tried MINE, I've tried LOCAL ones, heck, even random ones but NOTHING works.

Try to find out what process 127.0.0.1 is using I will provide a PowerShell command

Get-Process -Id (Get-NetTCPConnection -LocalPort 80).OwningProcess

Provide what you are seeing in PowerShell so we can see what to do next.

i did this and nothing happened

@Wer0000
Copy link

Wer0000 commented Jan 11, 2025

I've finally installed it correctly but when i try to use the IP i used it dosen't work and gives one of the errors on the title. I've tried MINE, I've tried LOCAL ones, heck, even random ones but NOTHING works.

Try to find out what process 127.0.0.1 is using I will provide a PowerShell command
Get-Process -Id (Get-NetTCPConnection -LocalPort 80).OwningProcess
Provide what you are seeing in PowerShell so we can see what to do next.

i did this and nothing happened

If nothing has happened, then 127.0.0.1 is not occupied by any program.

@Wer0000
Copy link

Wer0000 commented Jan 11, 2025

it's still worth updating your code or the library you're using to use alternatives to the punycode module, as it's really outdated.

the punycode module is not used by yt2009 itself, but - from what i can see - it is a part of the (older version of) node-fetch used by yt2009. updating it would come with a whole host of other problems unfortunately.

Are there no alternatives?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants