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

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

ความคิดเห็น • 134

  • @ericserafim7954
    @ericserafim7954 4 ปีที่แล้ว +43

    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 ปีที่แล้ว +57

    This is IT ASMR, I feel so relaxed learning about ports

    • @RichardNobel
      @RichardNobel 4 ปีที่แล้ว +3

      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 ปีที่แล้ว +1

      @@RichardNobel So awesome. Lol.

    • @mr.yanlucena8463
      @mr.yanlucena8463 3 ปีที่แล้ว

      Scott is the new Bob Ross

  • @bashmohandes
    @bashmohandes 4 ปีที่แล้ว +40

    I ❤️ this series

    • @kez99
      @kez99 4 ปีที่แล้ว +7

      scott is a national treasure

  • @andreh1200
    @andreh1200 4 ปีที่แล้ว +25

    Extremely underrated, thanks for providing these videos.

  • @RhyboK
    @RhyboK 4 ปีที่แล้ว +5

    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!

  • @chosensamuraii
    @chosensamuraii 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!

  • @bitelogger
    @bitelogger 3 ปีที่แล้ว

    Seen a master using a computer is like hearing a pianist master playing simply outstanding!

  • @alexvanheerden5702
    @alexvanheerden5702 4 ปีที่แล้ว +1

    Please do a video on basic commands in the windows cmd or linux bash or whatever makes you happy :P

  • @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!

  • @ArnonDanon
    @ArnonDanon 4 ปีที่แล้ว +1

    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👍🏼

  • @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.

  • @TommasoStocchi
    @TommasoStocchi 4 ปีที่แล้ว +1

    I mean... this is so good that even knowing this stuffs already, it's still fun to watch (and useful to refresh some topics).

  • @michaelnurse9089
    @michaelnurse9089 4 ปีที่แล้ว +3

    "The nicer kill" Love it!!! This series is exactly what I needed right now.

  • @blfuentes
    @blfuentes 4 ปีที่แล้ว

    You are one of the reasons I didn't quit my dev career. Thanks for your work

  • @mychromebook9935
    @mychromebook9935 4 ปีที่แล้ว

    This is just the right amount of information to just relax and watch.

  • @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.

  • @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 😅

  • @symol30872
    @symol30872 4 ปีที่แล้ว +1

    I was aware of this, but did this in a more roundabout way at work. Thanks for the tip

  • @sbrscoading801
    @sbrscoading801 4 ปีที่แล้ว

    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

  • @DiegodeSousa
    @DiegodeSousa 4 ปีที่แล้ว +1

    Great video Scott! I appreciate your job and all your efforts to share knowledge.
    Cheers from Brazil

  • @yank3656
    @yank3656 3 ปีที่แล้ว

    thanks for sharing Scott Hanselman

  • @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.

  • @domusvita
    @domusvita 2 ปีที่แล้ว

    Scott: Maybe this video isn't for you.
    Me: This video is TOTALLY for me!

  • @RussellRiker
    @RussellRiker 4 ปีที่แล้ว

    The Bob Ross of tech does it again. Thank you for all the happy little processes Sir

  • @gokeoladokun100
    @gokeoladokun100 4 ปีที่แล้ว

    Thanks for the series. Very informatives for windows users learning linux.

  • @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!

  • @lordgaulo6520
    @lordgaulo6520 4 ปีที่แล้ว +1

    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.

  • @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..

  • @ashishkhatiwada1880
    @ashishkhatiwada1880 4 ปีที่แล้ว

    I can now change my windows ports tyre and i can see who is riding on which tyre . Thanks scott.

  • @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.

  • @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.

  • @gerbenrampaart8042
    @gerbenrampaart8042 4 ปีที่แล้ว +3

    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).

  • @stanislavcaja9397
    @stanislavcaja9397 4 ปีที่แล้ว

    Love the series! Scott, how do you draw arrows/ lines on the screen with your mouse? Thank you for your answer.

  • @HieuNguyen-kt9ks
    @HieuNguyen-kt9ks 4 ปีที่แล้ว

    Thank for sharing your knowledge. Could you make a video about REST, GRPC, and OPEN API please!

  • @MVerbaas
    @MVerbaas 4 ปีที่แล้ว +1

    Very informative, and clear for everyone to follow!

  • @robl39
    @robl39 4 ปีที่แล้ว

    Scott, these videos are great. You really have a gift. Can you do a video on how the Docker Daemon works?

  • @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.

  •  4 ปีที่แล้ว +1

    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

  • @johndunagan8928
    @johndunagan8928 4 ปีที่แล้ว

    Absolutely essential in my ongoing adaptation to the firehose.

  • @deinos2114
    @deinos2114 4 ปีที่แล้ว

    I studied comp sci at university... I learned all about that... but I am watching this anyways!!! :)

  • @JKhalaf
    @JKhalaf 4 ปีที่แล้ว

    I'm really liking this series, please never stop this series :) ❤

  • @Dyallo1988
    @Dyallo1988 4 ปีที่แล้ว

    Yeah its a great series for sure!

  • @RobertoBorgesBr
    @RobertoBorgesBr 4 ปีที่แล้ว

    Really useful! thanks for sharing Scott

  • @keithhill7656
    @keithhill7656 4 ปีที่แล้ว

    From PowerShell on Windows you can also use:
    PS> Get-NetTCPConnection -LocalPort 1337 | Get-Process -Id {$_.OwningProcess}

  • @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.

  • @reneschindhelm4482
    @reneschindhelm4482 4 ปีที่แล้ว

    Thanks Scott, this was super helpful to me this week!

  • @TudoSempre
    @TudoSempre 4 ปีที่แล้ว

    Very good content, useful, good pace, and very good quality! Keep the good work!

  • @schitombite
    @schitombite 3 ปีที่แล้ว

    Any tip on finding out what service is binding on a port when pid=4 (system)?

  • @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.

  • @TarunKumarSaraswat
    @TarunKumarSaraswat 4 ปีที่แล้ว

    Wow😀 there's always something new in your videos. Thank you 🙂

  • @EdwinvanKoppen
    @EdwinvanKoppen 4 ปีที่แล้ว +1

    What is that top application bar? Is that something of Windows?

    • @szelpe
      @szelpe 4 ปีที่แล้ว +2

      That's the tab bar for Windows Terminal

  • @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.

  • @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.

  • @mos1097
    @mos1097 4 ปีที่แล้ว

    you're like the magician of computers great videos

  • @Amithansda
    @Amithansda 4 ปีที่แล้ว

    Now this is a lifesaver

  • @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! :)

  • @jbob34345
    @jbob34345 4 ปีที่แล้ว

    Thanks Scott, I find these videos really helpful

  • @diegomorales4028
    @diegomorales4028 4 ปีที่แล้ว

    Thank you so much for making these videos

  • @23d1nis
    @23d1nis 4 ปีที่แล้ว

    Hi Scott,
    Can you teach us more about compression and decompression of files? 😁
    Great series ❤

  • @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 !

  • @practicalprogrammer3663
    @practicalprogrammer3663 4 ปีที่แล้ว

    You are one of the best on TH-cam, thanks for sharing.

  • @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?

  •  4 ปีที่แล้ว +2

    Thank you!
    Question: Is there a more powershell'y way to do netstat? Where I can get the information as objects?

    • @Chooberful
      @Chooberful 4 ปีที่แล้ว +2

      Get-NetTcpConnection?

  • @AlanD20
    @AlanD20 4 ปีที่แล้ว

    Really love the series. Thank you for sharing your knowledge. wish you the best :)

  • @udubnate
    @udubnate 4 ปีที่แล้ว

    this is the greatest! Thanks Scott!

  • @evanwhelan8426
    @evanwhelan8426 4 ปีที่แล้ว

    Amazing video as always! Would love to see more networking videos if possible

  • @012345654321
    @012345654321 2 ปีที่แล้ว

    Great Video Captain Scott

  • @Gozi101
    @Gozi101 3 ปีที่แล้ว

    What's the difference between kill -9 and -15?

  • @pabloide86
    @pabloide86 4 ปีที่แล้ว

    Is there a way to get the PID that's locking a file?

  • @ADPrevost21
    @ADPrevost21 4 ปีที่แล้ว

    #TopicIdea - Explain the differences between "fields" and "properties". Why some have an underscore preceding and some don't, etc.

  • @DF-te2vm
    @DF-te2vm 4 ปีที่แล้ว

    One of your best for me

  • @haslamconsultancy2152
    @haslamconsultancy2152 4 ปีที่แล้ว

    What software is being used to draw the arrows and zoom the recording? Looks really slick and neat!

  • @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 ปีที่แล้ว +1

      zoomit from sysinternals

  • @fabricio-garcia
    @fabricio-garcia 4 ปีที่แล้ว

    Awesome video as usual!

  • @romagorgoshidze
    @romagorgoshidze 4 ปีที่แล้ว

    Great series, keep them videos coming!

  • @liquidpebbles
    @liquidpebbles 4 ปีที่แล้ว

    Scott you definitely earn all your Tacos

  • @tehsimo
    @tehsimo 4 ปีที่แล้ว

    this is a super series

  • @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

  • @rennishj
    @rennishj 4 ปีที่แล้ว

    Thanks Scott

  • @james3603
    @james3603 4 ปีที่แล้ว

    am learning a lot. always awesome!!!

  • @jayhu6075
    @jayhu6075 4 ปีที่แล้ว

    Again a great topic. Thanks.

  • @Fyyro
    @Fyyro 4 ปีที่แล้ว +1

    Funny anecdote,
    At my previous company we used to use normal Skype for work chat.
    Skype used to be strictly be P2P so it had a setting on by default where it would use port 80 / 443 (I am assuming it did this to get around firewalls)
    Well sometimes when i turned on my PC skype would start up before IIS and actually claim ports 80 /443 so my IIS just wouldn't work. I would just restart my PC and it would fix because i had no idea what was actually holding onto those ports at the time.
    So this video would have been great about 5 years ago for me :P

    • @odelljl
      @odelljl 4 ปีที่แล้ว +1

      Another great video even for a seasoned developer. Now do files!

  • @artedwards717
    @artedwards717 ปีที่แล้ว

    Scott Art you ever thinking about writing a guide to your teaching?????

  • @LuizBGomide
    @LuizBGomide 4 ปีที่แล้ว

    I never heard that cmd had "grep" in it... WOW!!!!

  • @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.

  • @jonatasdeoliveiracoelho4691
    @jonatasdeoliveiracoelho4691 4 ปีที่แล้ว

    Wow! Great video!!!

  • @smartannu
    @smartannu 4 ปีที่แล้ว

    super 💗 awesome ...
    love from Bengaluru 👍👍

  • @Praveen.Kumar.
    @Praveen.Kumar. 3 ปีที่แล้ว

    Great to learn.

  • @billpliske
    @billpliske 4 ปีที่แล้ว

    Nice job, Scott.

  • @chamindasirimana6283
    @chamindasirimana6283 4 ปีที่แล้ว

    Super Awesome..

  • @stevejoseph1664
    @stevejoseph1664 4 ปีที่แล้ว

    Great video.

  • @sreekurpad
    @sreekurpad 4 ปีที่แล้ว +1

    My school definitely didnt teach me this stuff!!

  • @hemanthkotagiri8865
    @hemanthkotagiri8865 4 ปีที่แล้ว

    Hello! Do you have any discord server so that I can join?

  • @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.

  • @pandyamehul
    @pandyamehul 4 ปีที่แล้ว

    nicely explained .. :)

  • @bbowles3
    @bbowles3 4 ปีที่แล้ว +3

    There’s not one troll in the 1.1k viewers that wants to dislike? Unbelievable

  • @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

  • @bocckoka
    @bocckoka 4 ปีที่แล้ว

    leet port?

  • @sharthakghosh970
    @sharthakghosh970 4 ปีที่แล้ว

    Go out there and "google" 😁 at 15:50

  • @linaresgoenaga
    @linaresgoenaga 4 ปีที่แล้ว

    TIL Windows has a grep tool: findstr 😮