Live data from Hacker News

Testing if a port can be reached, using built-in tools other than ol' telnet

carehart.org

1–10 of 87 posts

Re: Testing if a port can be reached, using built-in tools other than ol' telnet

#3
I’ve never used ‘curl host:port’ but use ‘curl -v telnet://host:port’ all the time on Linux boxes that don’t happen to have telnet installed. Perhaps he omits the telnet on the curl because I believe the windows curl doesn’t support it..

Re: Testing if a port can be reached, using built-in tools other than ol' telnet

#4
post #2

Not sure if I'd like to send anything into tested port just to tell if it is open. I'd rather stick with telnet or whatever is available. Also worth mentioning that bash also has network capabilities, you can check port like this: :

This is very useful, will save me some hassle. Thanks!

Re: Testing if a port can be reached, using built-in tools other than ol' telnet

#6
post #5

Windows can install full Linux distro via WSL. You can have a nmap in two minutes! I like it much better than MacBook with its incompatible ARM cpu, and outdated commands from some ancient BSD!

Yes ever since the M1 chip it’s just annoying to work on the M1. Day to day it doesn’t matter much but it wastes days of times the few times i ran into an issue. I wish companies would stop defaulting to macs for development

Re: Testing if a port can be reached, using built-in tools other than ol' telnet

#7
post #5

Windows can install full Linux distro via WSL. You can have a nmap in two minutes! I like it much better than MacBook with its incompatible ARM cpu, and outdated commands from some ancient BSD!

you can install gnu utils on a mac if you’d rather use them.

Re: Testing if a port can be reached, using built-in tools other than ol' telnet

#8
post #5

Windows can install full Linux distro via WSL. You can have a nmap in two minutes! I like it much better than MacBook with its incompatible ARM cpu, and outdated commands from some ancient BSD!

It's been a year or two but last time I tried networking tools like nmap in WSL I would get all kinds of errors.

Re: Testing if a port can be reached, using built-in tools other than ol' telnet

#10
post #6
post #5

Windows can install full Linux distro via WSL. You can have a nmap in two minutes! I like it much better than MacBook with its incompatible ARM cpu, and outdated commands from some ancient BSD!

Yes ever since the M1 chip it’s just annoying to work on the M1. Day to day it doesn’t matter much but it wastes days of times the few times i ran into an issue. I wish companies would stop defaulting to macs for development

He, I asked for Windows laptop. I am the only one in like 30 people.

My laptop has 64GB RAM and 2TB ssd. And unlike Mac, it drives 4x4k displays via USB4 hub. Even with all those extras, it costs less than Macbook, and I have some hardware budget still available:)

And it came with unlocked bios, no spy software... Windows are basically unsupported by our IT...

Post reply on HN