Public IP vs. Private IP and Port Forwarding (Explained by Example)

  Рет қаралды 287,129

Hussein Nasser

Hussein Nasser

Күн бұрын

In this video we will explain how you can author a web application, host it on your laptop then expose it through the internet via port forwarding. We will explain the difference between private ip in Local Area network and Public IP, we will explain how routers have two IP addresses public and private IP.
We will also do a live edit on my router configuration to do a port forwarding of port 8080 to my local laptop and even access that through my phone.
-Hussein
Stay Awesome!
Hussein

Пікірлер: 309
@keithscull8288
@keithscull8288 2 жыл бұрын
This is what we need! Most sources explain concepts like this with a Networking context and so as developers not only does it not click, but we have no idea what relevance it has to the applications we develop. You explain conceptually and even make a point to show an example with a real world app while omitting "unnecessary" networking terms. And if we wanted to expand to lower level networking aspects we have a better chance with that now as well ..
@philomath6190
@philomath6190 3 жыл бұрын
You explained it better than my college instructor.
@szilardfineascovasa6144
@szilardfineascovasa6144 Жыл бұрын
This channel is a treasure trove. Finally getting to understand misc. stuff I just heard thrown around by network or sys-admins. Thanks, Hussein. And the humor makes everything even better!
@andresbonelli
@andresbonelli Жыл бұрын
By far the most pristine explanation on this topic. And at last someone with enough balls to show the public IP on a tutorial because when you blur things out on a tutorial it gets confusing, for someone who still doesnt fully understand the topic!!
@sukiyang3474
@sukiyang3474 2 жыл бұрын
It's like you have the magic powering of explaining things in the most understandable way.
@brianjosephblake
@brianjosephblake 3 жыл бұрын
This is EXCELLENT content and very well explained. Thank you, Hussein!
@kallolchakrabarti8210
@kallolchakrabarti8210 2 жыл бұрын
I dont have any knowledge. Surprisingly, I understood the lecture. You are a genius bro. God bless.
@ryarod
@ryarod 3 жыл бұрын
There is an online multiplayer game that is now in the hands of the fans to resurrect. In order to do that I need to be able to hold public ip addresses and port my routers. This video marks the first I've seen in my quest to roll up my sleeves, get to work, and bring Primal Carnage back! I look forward to learning the content this video's title alludes to, among much else.
@AsrarSheikh_IN
@AsrarSheikh_IN 3 жыл бұрын
One of the greatest explanation video on KZbin 👍👍👍
@gouravkhator
@gouravkhator 2 жыл бұрын
After so many years, I have got the full idea of default gateway and public ip
@atibyte
@atibyte 4 жыл бұрын
The best explanation on port forwarding, thank you.
@norah5073
@norah5073 2 жыл бұрын
I love your way of how you explain the point. Thank you so much for your efforts and time
@stevelamparas
@stevelamparas 3 жыл бұрын
Well explained in just 9 40 minutes. Good job
@sayan883
@sayan883 3 жыл бұрын
Great Content Hussein.Pease continue the good work.!!
@namahshrestha3226
@namahshrestha3226 5 жыл бұрын
This guy needs to have more subs. Totally worth the watch.
@rshaikh05
@rshaikh05 3 жыл бұрын
excellent. crystal clear now. jazakAllahu khair Hussein.
@harshitgangwar4500
@harshitgangwar4500 2 жыл бұрын
Awesome video man. I am so grateful I found your channel.
@hamzanasir1590
@hamzanasir1590 3 жыл бұрын
You are great SIR. Keep making videos on software engineering 👍👍👍
@SuperFakeMinecraftChannel
@SuperFakeMinecraftChannel 4 жыл бұрын
I didn't really search for this, but thanks for the guide, now I learned something new. This was really helpful and understandable!
@hnasr
@hnasr 4 жыл бұрын
Thank you Willox! I am happy the video is informing
@alih.3128
@alih.3128 2 жыл бұрын
Thanks champ 😘 الله يوفقك اخ حسين، فخورين فيك
@coluccicreations5845
@coluccicreations5845 2 жыл бұрын
Your explanation was excellent I understand now THANK YOU !!!
@helioradial
@helioradial 2 жыл бұрын
simple and well said for everyone to understand !!! thank you Hussein :D :)
@Alex-ir5ph
@Alex-ir5ph 2 жыл бұрын
Awesome explaining, thank u!
@praveenreddy5211
@praveenreddy5211 2 жыл бұрын
Thank you wonderful session with example. its very helpful for host my website through public
@Thugga_Thugga
@Thugga_Thugga 3 жыл бұрын
Thank you so much man! Keep doing excellent.
@humayunnaveedkhan1281
@humayunnaveedkhan1281 3 жыл бұрын
Thank you so much my brother Hussein.. Best explanation
@sazon8009
@sazon8009 3 жыл бұрын
a thank is not enough bro, i love the way you teach it so easy to understand, it you make it easy to understand
@Bloome_BlueFolf
@Bloome_BlueFolf Жыл бұрын
Simple and clear. Well made.
@sravanikatasani.630
@sravanikatasani.630 2 жыл бұрын
Thank you for this amazing content!!
@vuhaiang2077
@vuhaiang2077 3 жыл бұрын
love your videos so much, big fan from Viet Nam
@hnasr
@hnasr 3 жыл бұрын
Glad you enjoy the content and all love to my subs from Vietnam 🇻🇳
@mebachanews3450
@mebachanews3450 3 жыл бұрын
Life saver! Thank you sir!
@sukhpreetlotey1172
@sukhpreetlotey1172 3 жыл бұрын
Thanks for clearly explaining it.
@kamaleshpramanik7645
@kamaleshpramanik7645 3 жыл бұрын
This is awesome ... Thank you very much Sir.
@giiovaani
@giiovaani 2 жыл бұрын
Here we have a REAL teacher !!!
@no_one3249
@no_one3249 2 жыл бұрын
Thank you so much for the explanation~!
@programmingwithshahriar9939
@programmingwithshahriar9939 Жыл бұрын
Beautifully explained! Keep up the amazing work..
@mazighus
@mazighus Жыл бұрын
Clear and easy thank's Bro i give you a big like 👌
@bryanssj3949
@bryanssj3949 4 жыл бұрын
Great!! Finally I can play Need for Speed 3 Hot pursuit whit my friends :D greetings from Chile
@gigachad6844
@gigachad6844 Жыл бұрын
Awesome explanation.
@user-nc6ho6dj3i
@user-nc6ho6dj3i 6 ай бұрын
Thank you so much, the way your sharing very funny and easy to follow, keep it up :)
@f.i4215
@f.i4215 4 жыл бұрын
Ive done this and checked port foward checker, it says its closed and it shows me my ;public IP again! any help?
@fergusproctor2710
@fergusproctor2710 3 жыл бұрын
Thank you! Very helpful
@antoninperonnet6138
@antoninperonnet6138 2 жыл бұрын
I think there was only one concept missing: the loopback interface of the router. On some routers when you request the router's public ip it will not respond: you need a loopback.
@rudykammermeier8227
@rudykammermeier8227 2 жыл бұрын
Excellent explanation!
@andylib
@andylib 4 жыл бұрын
This is tutorial is gold! Thanks
@Trstn12
@Trstn12 3 жыл бұрын
Thank you for this
@theSDE2
@theSDE2 2 жыл бұрын
Very well explained sir.
@MrStranG-MrStranG
@MrStranG-MrStranG 2 жыл бұрын
Tq so much... It really helps me... Thanks Again
@indietuts
@indietuts Жыл бұрын
Wow, This what I was looking for?
@usernamewatcher
@usernamewatcher 4 жыл бұрын
Well done! Useful! Thanks! ))
@aleaguiarl
@aleaguiarl 3 жыл бұрын
Fantastic explanation
@aryanbhosale9254
@aryanbhosale9254 3 жыл бұрын
Thanks very useful for Arduino projects that need websockets
@abidsaleem7526
@abidsaleem7526 4 жыл бұрын
Great video. Thanks :)
@alirezai1434
@alirezai1434 4 жыл бұрын
mashallah brother nice job
@Parth.Deshpande
@Parth.Deshpande 2 жыл бұрын
amazing explanation
@MohamedElhusseinPlus
@MohamedElhusseinPlus Жыл бұрын
Thanks; nice and simple
@ianchong7422
@ianchong7422 2 жыл бұрын
so simple and thanks for sharing.
@vvnnable
@vvnnable 2 жыл бұрын
you are a life saver bro
@phantomswordorpoo
@phantomswordorpoo 3 жыл бұрын
I tried it, allowed my port through windows firewall , set up port forwarding through router but still its not working
@JuanchoPM
@JuanchoPM 3 жыл бұрын
Such a master... Subbed and liked
@1217castor
@1217castor Жыл бұрын
Exactly what I am looking for
@adhishmalviya426
@adhishmalviya426 2 жыл бұрын
Are mere ladke jaan he tu meri 🔥
@ignaciotorocoronado985
@ignaciotorocoronado985 3 жыл бұрын
Hussein. Here goes a few courses on college and im not even joking.
@user-rg1jp2us4o
@user-rg1jp2us4o 4 жыл бұрын
Thank you so much for this simple explanation. Its down to earth and makes sense. You have earned my sub.
@shijuvarkeythomas406
@shijuvarkeythomas406 3 жыл бұрын
how we can make two different location computer IP in local IP range ?
@jayanthbondi4251
@jayanthbondi4251 2 жыл бұрын
Excellent video !!
@mrjohnbull
@mrjohnbull 3 жыл бұрын
good day sir, i want to first commend you for the justice you did to the video on port forwarding. neatly explained. thank you very much sir. may God almighty whom i server bless and give you more grace, knowledge and greater wisdom. i was really educated by the simplicity of your teaching. please sir, i need a favour from you, what is the name of the router you used for the above video and how can i get it, i live in Nigeria. once more thanks sir.
@godofkings4366
@godofkings4366 3 жыл бұрын
thank you verry much . so i want to make sure . so we need open port and public ip address for entering private lan . is it correct .
@programmingjoint3034
@programmingjoint3034 4 жыл бұрын
you are the best
@rickhorvath
@rickhorvath Жыл бұрын
How might I do this without adding the port 8080? Ultimately using a domain name which points to my public IP and then to the web server I have on my LAN? Thanks in advance.
@Airborn14
@Airborn14 2 жыл бұрын
How do I change my IP address from private to public? I have the Netgear 4G LTE modem LM1200, so I can run a node online using my raspberry Pi 3 B+ running through a Deeper network Mini device
@sul3y
@sul3y 3 жыл бұрын
Thanks Hussein
@lanncerigs262
@lanncerigs262 2 жыл бұрын
Thank you for the video! It helps me as an aspiring backend engineer :) Anyway, I have a question. Sorry if it is a dumb question but, why can't you access the application using the public IP even if you are connected to the WiFi? I really appreciate if anyone can answer this question.
@oscarozorio1005
@oscarozorio1005 Жыл бұрын
That's because that IP it's from the router so it doesn't have the app lets say, the app is running on the machine with the private IP and we stuck at the router who doesn't know where's the app
@robertdowney1823
@robertdowney1823 3 жыл бұрын
🥺 thnk you!!
@kazrie5795
@kazrie5795 2 жыл бұрын
hello mate..how to port forwarding for games on steam..i’m trying so many times doing setup to run dedicated server..but it’s won’t work..maybe i’m doing wrong…i don’t understand about wan/router..where should i put the number for port 27015(steam game)..
@minhthinhhuynhle9103
@minhthinhhuynhle9103 2 жыл бұрын
I enjoyed this video. I enjoyed your voice. I give you a thumb up - like :)) (y)
@chum8520
@chum8520 3 жыл бұрын
great explanation!!
@hnasr
@hnasr 3 жыл бұрын
Heshan Dissanayake thanks
@IamBrocco
@IamBrocco 2 жыл бұрын
i love your way of speaking, it makes me proud of being an arab!!! keep your good content up!
@jongjong9455
@jongjong9455 4 жыл бұрын
Can you make a demonstration about trueconf using this concept. Connecting client to the server using internet.. Thanks.
@tronghieu60s
@tronghieu60s 3 жыл бұрын
Thank you very much.
@mohamedzarzar-s4t
@mohamedzarzar-s4t 2 күн бұрын
It is so helpful
@pantherwolfbioz13
@pantherwolfbioz13 3 жыл бұрын
But what if there are 2 applications running on port 8080? How to port forward that time? Will the router fail?
@mohamedeladl6273
@mohamedeladl6273 Жыл бұрын
very nice!
@burakuren5188
@burakuren5188 2 жыл бұрын
YOU ARE AMAZİNG DUDE !!!
@yamenvoice
@yamenvoice 3 жыл бұрын
Just PERFECT
@samyakjain720
@samyakjain720 2 жыл бұрын
you nailed it
@nathanbenton2051
@nathanbenton2051 3 жыл бұрын
I have a VM (running via VirtualBox on my local) configured with a bridge network on my local machine. On my host machine (or local environment), I secured copied (via terminal command scp) a file to the VM via 192.168.1.#. did that event ever go to the router or did all the networking on that particular request remain entirely within my local machine?
@hnasr
@hnasr 3 жыл бұрын
Fantastic question and beyond my knowledge to be honest. But I will make a guess. If you bridged your VM that means it is now part of the same network your physical machine is on, that also means it is going to get a unique IP address usually from the router DHCP and a unique mac address. So my answer is yes that command does go through your router and your physical machine will answer the ARP request for both the VM and itself Hope that helps but keep those challenging questions coming!
@slonbeskonechen8310
@slonbeskonechen8310 3 жыл бұрын
Great thanks!
@boydchongo2556
@boydchongo2556 Жыл бұрын
wow thanks man
@monireol
@monireol 2 жыл бұрын
Thanks
@8ack2Lobby
@8ack2Lobby 2 жыл бұрын
I have a CGNAT so I can't open ports with my router :( any workaround
@thegame8538
@thegame8538 3 жыл бұрын
I am trying to find a place to buy SSH Tunnel no-login servers. Have any ideas?
@yayatoure47
@yayatoure47 3 жыл бұрын
جزاء الله خيرًا
@ferasawwad71
@ferasawwad71 3 жыл бұрын
Sir, I do not mean that, I mean are there other ways to communicate with any site, do you use the API or Google code .. Do you have an explanation of how to use the code for communications
@AdrienAranda
@AdrienAranda 2 жыл бұрын
Hello! I did all the steps and my friend can connect to my private port so it works, but I tried to test it on my own with my very same computer like you did and it's not working. It says connection refused. Why is that?
@youneskechache1804
@youneskechache1804 2 жыл бұрын
Thanks for the explanation simple and easy to understand, i would to ask a couple of questions if anyone could help me. Can i use 2 routers for the same home network (same service provider same bill) ? If yes does that mean the 2 different routers have 2 ip adresses or will it be just 1 ip adress on the 2 routers (the one provided by the network company)?
@oscarozorio1005
@oscarozorio1005 Жыл бұрын
I guess it'll be only 1 public IP but 2 different IP's for the default gateway IP address
@user-fp9ve9ux1h
@user-fp9ve9ux1h 4 жыл бұрын
so great ..... many likes :)
@hemsagarpatel8992
@hemsagarpatel8992 4 жыл бұрын
Hi Sir i have tomcat running at 8080 on a windows pc ,,, i did port forwarding for this windowsPCIP and 8080 port ,and its not working from 4g net of my phone ,,,,what i need to do extra,,,,thanks
@damlurker
@damlurker 3 жыл бұрын
Hi Sir
@sbasjinfnly9186
@sbasjinfnly9186 5 жыл бұрын
15xs but I got it thanku so much loved it
@hnasr
@hnasr 5 жыл бұрын
Sbasjin Finley thank uuuuu
@Adamson_zero
@Adamson_zero 3 жыл бұрын
I can't access my server from local network, using public IP address. However, I can access it from the internet using public IP address, And I can also access it from local network, using private IP address. Any idea? Thanks
SSH Tunneling - Local & Remote Port Forwarding (by Example)
17:43
Hussein Nasser
Рет қаралды 239 М.
OMG🤪 #tiktok #shorts #potapova_blog
00:50
Potapova_blog
Рет қаралды 18 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
Public vs Private IP Address
7:11
PowerCert Animated Videos
Рет қаралды 653 М.
Network Ports Explained
10:33
PowerCert Animated Videos
Рет қаралды 1,5 МЛН
Port Forwarding | How & Why we should use it!
8:01
Behfor
Рет қаралды 23 М.
Common Mistakes People Make When Port Forwarding
12:55
Mad About Tutorials
Рет қаралды 17 М.
Static IP Addresses and Port Forwarding Tutorial
12:48
AudioLink_MA
Рет қаралды 54 М.
Port Forwarding Explained
9:04
PowerCert Animated Videos
Рет қаралды 2,6 МЛН
Subnets vs VLANs
5:51
PowerCert Animated Videos
Рет қаралды 538 М.
Stateful vs Stateless Applications (Explained by Example)
14:44
Hussein Nasser
Рет қаралды 197 М.
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1 МЛН
PART 52 || DIY Wireless Switch forElectronic Lights - Easy Guide!
1:01
HUBAB__OFFICIAL
Рет қаралды 25 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,7 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 5 МЛН