Тёмный

Ports and Processes! What Process has that Port open? - Computer Stuff They Didn't Teach You #9 

Scott Hanselman
Подписаться 178 тыс.
Просмотров 36 тыс.
50% 1

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 134   
@ericserafim7954
@ericserafim7954 4 года назад
Scott was born to be a teacher. The way used to explain is such enjoyable and easy to understand. Thanks a lot!
@SK-iv4ml
@SK-iv4ml 4 года назад
This is IT ASMR, I feel so relaxed learning about ports
@RichardNobel
@RichardNobel 4 года назад
In the spirit of Bob Ross, I guess Scott could've said something like: _"We want happy ports. Happy processes. If you want sad things, watch the news."_ ;-) Also, at 15:19 👉 _"We don’t make mistakes. We just have happy accidents."_ ^_^
@lionelt.9124
@lionelt.9124 4 года назад
@@RichardNobel So awesome. Lol.
@mr.yanlucena8463
@mr.yanlucena8463 3 года назад
Scott is the new Bob Ross
@bashmohandes
@bashmohandes 4 года назад
I ❤️ this series
@kez99
@kez99 4 года назад
scott is a national treasure
@andreh1200
@andreh1200 4 года назад
Extremely underrated, thanks for providing these videos.
@RhyboK
@RhyboK 4 года назад
You are the Bob Ross of CS. Thanks for taking the time to answer all the questions the rest of us are too embarrassed to ask. One thing that is criminally glossed over in CS education is how much time you spend setting up a development environment and security. I would love to hear your take on building a modular development environment (technically you covered that already in your Docker videos) or how to effectively set up roll-based access control and PKI certs on your home system. Thanks!
@alexvanheerden5702
@alexvanheerden5702 4 года назад
Please do a video on basic commands in the windows cmd or linux bash or whatever makes you happy :P
@JonathanSwiftUK
@JonathanSwiftUK 4 года назад
Ads every few minutes kills the learning experience. Imagine if you had ads breaks every 5 minutes in a classroom or lecture. Having one at the start and one half way through might not disrupt the flow.
@shanselman
@shanselman 4 года назад
Hm I will look into it. Should only be one. Sorry.
@bbowles3
@bbowles3 4 года назад
There’s not one troll in the 1.1k viewers that wants to dislike? Unbelievable
@gerbenrampaart8042
@gerbenrampaart8042 4 года назад
1 dude on this video saying: I like my ports to conflict thank you very much!!
@gerbenrampaart8042
@gerbenrampaart8042 4 года назад
Next up on this channel: why Windows Server hides file extensions by default and how to enable them. (big fan of Scott, follow him everywhere).
@keithhill7656
@keithhill7656 4 года назад
From PowerShell on Windows you can also use: PS> Get-NetTCPConnection -LocalPort 1337 | Get-Process -Id {$_.OwningProcess}
@HieuNguyen-kt9ks
@HieuNguyen-kt9ks 4 года назад
Thank for sharing your knowledge. Could you make a video about REST, GRPC, and OPEN API please!
@j2csharp
@j2csharp 3 года назад
I've really been enjoying Powershell for these types of tasks. For netstat, I haven't really found a good equivalent in Powershell just yet. However, cmdlets like "Get-Process", "Stop-Process" (for process info), Test-NetConnection (for port info), have served me well. Not sure if these are ready for Linux yet, but I think there's growing support for cmdlets in Powershell under Unix.
@lucianotres9237
@lucianotres9237 4 года назад
Quick and smashing.. Nice.. Just one question. What's that screen capture with click to do arrow and zoom stuffs? Seems to be very useful. It's not a win+shift+s..
@gokeoladokun100
@gokeoladokun100 4 года назад
Thanks for the series. Very informatives for windows users learning linux.
@PatriceCalve
@PatriceCalve 4 года назад
? Addendum/Appendix/Post-Script ? Another tool to add for troubleshooting this kind of situation is "netsh http show urlacl". In my case, netstat found no issues, I was able to run nodejs on a port but some apps wouldn't start without admin privileges. Something to do with Microsoft.Owin.Host.HttpListener based apps. Credits to Kalle Olavi Niemitalo.
4 года назад
Related to this, I created a component called Eunoia.Net.Collections (github.com/EunoiaAr/eunoia), which I used successfully in a couple of projects now, starting from an MSDN sample, but that allowed me to use netstat results with LINQ, which it might be useful for some apps, I hope you could review it and make some comments about it.
@domusvita
@domusvita 2 года назад
Scott: Maybe this video isn't for you. Me: This video is TOTALLY for me!
@DiegodeSousa
@DiegodeSousa 4 года назад
Great video Scott! I appreciate your job and all your efforts to share knowledge. Cheers from Brazil
@huraken948
@huraken948 3 года назад
Very nice video, well explained Maybe you could explain about tcp connections in another video ? As a web developer I found it could be an interesting topic Thanks !
@sbrscoading801
@sbrscoading801 3 года назад
I am very new to software job.. your videos are exactly providing all the knowledge im in a dire need for.. Thanks for being a help.. Please make more videos that you think are needed.. I am Loving al your videos and the way you explain them detailedly, and with a lot of experience unlike many silly youtubers
@michaelnurse9089
@michaelnurse9089 4 года назад
"The nicer kill" Love it!!! This series is exactly what I needed right now.
@ZohaibShirani
@ZohaibShirani 4 года назад
Great video, thanks for this. Sometimes we can't delete a file because some other process is using that file. Can you please make a video on how to identify which process is using a specific file using sysinternal process explorer and without a sysinternal process explorer.
@MJSmithGroup
@MJSmithGroup 4 года назад
Can you do an episode or blog article on how to retake control of your sound volume on windows 10? There's something messed up with windows 10 volume. It's like a memory leak, that survives restarts, but for volume. For some strange reason my volume, over time, gets lower and lower and lower, regardless of volume settings.
@TommasoStocchi
@TommasoStocchi 4 года назад
I mean... this is so good that even knowing this stuffs already, it's still fun to watch (and useful to refresh some topics).
@lawrencedoliveiro9104
@lawrencedoliveiro9104 4 года назад
Can I just add that netstat is a bit of a, shall we say, old-school way of doing things. The new set of network management tools is called iproute2, and as part of this, the netstat replacement is called ss man7.org/linux/man-pages/man8/ss.8.html . It can show a bit more info than netstat can manage.
@bitelogger
@bitelogger 3 года назад
Seen a master using a computer is like hearing a pianist master playing simply outstanding!
@BharatKumarBellamkonda
@BharatKumarBellamkonda 4 года назад
I don't know there is a cmd option, great video. I always search in resmon, it is hard to search and slow in pc with HDD.
@stanislavcaja9397
@stanislavcaja9397 3 года назад
Love the series! Scott, how do you draw arrows/ lines on the screen with your mouse? Thank you for your answer.
@artedwards717
@artedwards717 Год назад
Scott Art you ever thinking about writing a guide to your teaching?????
@mos1097
@mos1097 4 года назад
you're like the magician of computers great videos
@angmathew4377
@angmathew4377 3 года назад
You are gem as always.In one video you gave us lot more. The magic terms of sudo, bash etc. Thanks Sir.
@schitombite
@schitombite 3 года назад
Any tip on finding out what service is binding on a port when pid=4 (system)?
@mychromebook9935
@mychromebook9935 4 года назад
This is just the right amount of information to just relax and watch.
@Gozi101
@Gozi101 3 года назад
What's the difference between kill -9 and -15?
@RobertoBorgesBr
@RobertoBorgesBr 4 года назад
Really useful! thanks for sharing Scott
@DaveRogersEsq
@DaveRogersEsq 3 года назад
What can you say about Scott Hanselman, other than that he is one of the finest humans on the crazy blue orb.
@linaresgoenaga
@linaresgoenaga 3 года назад
TIL Windows has a grep tool: findstr 😮
4 года назад
Hi Scott, great video series! Maybe you could do a video about heap-and-stack monitoring in computer memory. A lot of developers working with gc do not have a clue
@hemanthkotagiri8865
@hemanthkotagiri8865 4 года назад
Hello! Do you have any discord server so that I can join?
@LuizBGomide
@LuizBGomide 4 года назад
I never heard that cmd had "grep" in it... WOW!!!!
@smartannu
@smartannu 4 года назад
super 💗 awesome ... love from Bengaluru 👍👍
@pabloide86
@pabloide86 4 года назад
Is there a way to get the PID that's locking a file?
@diegomorales4028
@diegomorales4028 4 года назад
Thank you so much for making these videos
@ArnonDanon
@ArnonDanon 4 года назад
Love the fact you are showing stuff that we deal with them on a daily basis and forgot we once had to learn them. You knows there are newbeis who just had to struggle it for the first time...and then you intreduce a step by step how to deal with this issue.This is awsome, respect👍🏼
4 года назад
Thank you! Question: Is there a more powershell'y way to do netstat? Where I can get the information as objects?
@Chooberful
@Chooberful 4 года назад
Get-NetTcpConnection?
@EdwinvanKoppen
@EdwinvanKoppen 4 года назад
What is that top application bar? Is that something of Windows?
@szelpe
@szelpe 4 года назад
That's the tab bar for Windows Terminal
@sreekurpad
@sreekurpad 4 года назад
My school definitely didnt teach me this stuff!!
@robl39
@robl39 4 года назад
You just saved me! The process taking up the port of my ASP.NET Core app was not showing up in Task Manager. However, I was able to kill it using taskkill. Thanks Scott!
@shanselman
@shanselman 4 года назад
Awesome! Congrats!
@jmarkashe660
@jmarkashe660 4 года назад
I think you have a lot of good information but I cannot complete watching your video because every time you are in the middle of a good subject, I get a commercial. I like what you are doing but I cannot give your video a 'like'. I give up. moving on.
@shanselman
@shanselman 4 года назад
Sorry about that, I will take a look. I’m not sure how RU-vid decides these things
@liquidpebbles
@liquidpebbles 4 года назад
Scott you definitely earn all your Tacos
@symol30872
@symol30872 4 года назад
I was aware of this, but did this in a more roundabout way at work. Thanks for the tip
@yank3656
@yank3656 2 года назад
thanks for sharing Scott Hanselman
@lordgaulo6520
@lordgaulo6520 4 года назад
This is totally unrelated, I have been following you for a while and I noticed you have a lot of swag, but at first you seem really unassuming, you are the type of person that can be cool with anybody and still be himself.
@shanselman
@shanselman 4 года назад
SWAG
@afaf6478
@afaf6478 4 года назад
Love your videos! I have a question regarding OOP. I am writing an app in Python and often I struggle with breaking my code into different files. How do I determine which methods/functions deserve to be in a separate file? Are there guidelines or industry standards for that? Should I break down my code if it becomes too long?
@ADPrevost21
@ADPrevost21 4 года назад
#TopicIdea - Explain the differences between "fields" and "properties". Why some have an underscore preceding and some don't, etc.
@chosensamurai9047
@chosensamurai9047 2 года назад
Thank you for all your videos. As someone who is self taught and in this industry; your videos have been invaluable to helping me fill the gaps that I may have otherwise learned during time in a university. Thanks for being awesome!
@deinos2114
@deinos2114 4 года назад
I studied comp sci at university... I learned all about that... but I am watching this anyways!!! :)
@sezo3820
@sezo3820 2 года назад
Some of this things I have learnt in uni, but they weren't explain so engaging and eye openings as Scott's, I'm really glad you're doing this series!
@tak8460
@tak8460 4 года назад
Great Stuff! Thank you so much for doing these videos. I have to agree with an earlier commenter that Scott Hanselman is the Bob Ross of Programming! :)
@MVerbaas
@MVerbaas 4 года назад
Very informative, and clear for everyone to follow!
@sharthakghosh970
@sharthakghosh970 4 года назад
Go out there and "google" 😁 at 15:50
@robl39
@robl39 4 года назад
Scott, these videos are great. You really have a gift. Can you do a video on how the Docker Daemon works?
@robertharrison490
@robertharrison490 4 года назад
Why did you say, "You want to avoid running as administrator if you can"?
@shanselman
@shanselman 4 года назад
Meaning that as a general rule you want to apply what is called “the principle of least privilege.” Your application should run with only the permission that they need to do their jobs, no more. Administrators can do absolutely anything, so when you run an application they can do anything, there’s always the potential for something bad to happen
@Noceo
@Noceo 4 года назад
Awesome, as usual. Thanks Scott! The only thing I felt could use a bit more attention, is why the processes appears twice in the task list. On another note, it would be awesome if you did a video on certificates/manifests/signing/ etc.
@Steve-Richter
@Steve-Richter 4 года назад
How to list processes in a node.js program? When the node code gets the port in use error, want to get the PID of the process using the port and send a message with that PID back to the user.
@user-or7ji5hv8y
@user-or7ji5hv8y 4 года назад
Still unclear what a port is.
@sarcasmasaservice
@sarcasmasaservice 4 года назад
I know I'm late to this party, but I just wanted to say Scott that you taught me more about Windows' command line utilities in this video than I had managed to learn on my own in years. Thanks again for this series, you teach me so much about both my system and also how to be a better presenter.
@TudoSempre
@TudoSempre 4 года назад
Very good content, useful, good pace, and very good quality! Keep the good work!
@outerheaven01
@outerheaven01 4 года назад
You are truly the Bob Ross of IT it is so relaxing to sit, watch and learn from you Scott. I'd love more content on power user tools. That is one thing we don't learn in school 😅
@23d1nis
@23d1nis 4 года назад
Hi Scott, Can you teach us more about compression and decompression of files? 😁 Great series ❤
@jws239
@jws239 4 года назад
Thank you Scott, the series is very informative and has the same peacefull and happy vibe as Bob Ross' The joy of painting.
@davidanthonyburton2253
@davidanthonyburton2253 Год назад
Hiya Scott. Please can I type a comment on a device that makes this possible and I have actually done a physical process by typing and trying to communicate/ WITH AT THE MOMENT BECACAUE I AM PISSED UP ! I Know you are a I'll person Scottt. I only work with the love or interested of
@arielespindola1759
@arielespindola1759 4 года назад
How can I subscribe twice?
@TarunKumarSaraswat
@TarunKumarSaraswat 4 года назад
Wow😀 there's always something new in your videos. Thank you 🙂
@jbob34345
@jbob34345 4 года назад
Thanks Scott, I find these videos really helpful
@haslamconsultancy2152
@haslamconsultancy2152 4 года назад
What software is being used to draw the arrows and zoom the recording? Looks really slick and neat!
@shanselman
@shanselman 4 года назад
Zoomit from sysinternals
@haslamconsultancy2152
@haslamconsultancy2152 4 года назад
@@shanselman thank you Scott!!
@Dyallo1988
@Dyallo1988 4 года назад
Yeah its a great series for sure!
@012345654321
@012345654321 2 года назад
Great Video Captain Scott
@reneschindhelm4482
@reneschindhelm4482 4 года назад
Thanks Scott, this was super helpful to me this week!
@blfuentes
@blfuentes 4 года назад
You are one of the reasons I didn't quit my dev career. Thanks for your work
@RussellRiker
@RussellRiker 4 года назад
The Bob Ross of tech does it again. Thank you for all the happy little processes Sir
@evanwhelan8426
@evanwhelan8426 4 года назад
Amazing video as always! Would love to see more networking videos if possible
@AlanD20
@AlanD20 4 года назад
Really love the series. Thank you for sharing your knowledge. wish you the best :)
@ashishkhatiwada1880
@ashishkhatiwada1880 4 года назад
I can now change my windows ports tyre and i can see who is riding on which tyre . Thanks scott.
@fabricio-garcia
@fabricio-garcia 4 года назад
Awesome video as usual!
@pandyamehul
@pandyamehul 4 года назад
nicely explained .. :)
@jonatasdeoliveiracoelho4691
@jonatasdeoliveiracoelho4691 4 года назад
Wow! Great video!!!
@Amithansda
@Amithansda 4 года назад
Now this is a lifesaver
@ang4860
@ang4860 4 года назад
enjoy your tacos dude
@DF-te2vm
@DF-te2vm 4 года назад
One of your best for me
@sodiboo
@sodiboo 4 года назад
How come some commands (like netstat) take arguments as -longname or -l as a short name, but some others (like tasklist) take with /shortname (is there a long name version?)?
@shanselman
@shanselman 4 года назад
Good question. Because the command line is chaos and some folks like -, -, and / and there’s no central body or rule. Even on Linux it’s a mess. It’s very frustrating
@practicalprogrammer3663
@practicalprogrammer3663 4 года назад
You are one of the best on RU-vid, thanks for sharing.
@JKhalaf
@JKhalaf 4 года назад
I'm really liking this series, please never stop this series :) ❤
@chamindasirimana6283
@chamindasirimana6283 4 года назад
Super Awesome..
@Praveen.Kumar.
@Praveen.Kumar. 3 года назад
Great to learn.
@rennishj
@rennishj 3 года назад
Thanks Scott
@stevejoseph1664
@stevejoseph1664 4 года назад
Great video.
@LeeOades
@LeeOades 4 года назад
Woah! How do you zoom in and draw arrows on the screen? Some kind of screen capture tool I assume?
@shanselman
@shanselman 4 года назад
zoomit from sysinternals
@johndunagan8928
@johndunagan8928 4 года назад
Absolutely essential in my ongoing adaptation to the firehose.
Далее
Airpod Through Glass Trick! 😱 #shorts
00:19
Просмотров 1,4 млн
OYUNCAK DİREKSİYON İLE ARABAYI SÜRDÜ 😱
00:16
The Tragedy of systemd
47:18
Просмотров 1,1 млн
Why You Can't Name A File CON In Windows
8:03
Просмотров 7 млн
Beginner's Guide To The Linux Terminal
42:27
Просмотров 380 тыс.
Airpod Through Glass Trick! 😱 #shorts
00:19
Просмотров 1,4 млн