Solved

Is there a difference between these socket addresses re: my pc

Posted on 2015-02-15
2
149 Views
Last Modified: 2015-02-15
Can someone please help me understand the difference between these socket addresses if they are used on my pc:
:::80
0.0.0.0:80
127.0.0.1:80
192.168.0.5:80 (assuming the ip address has been assigned to my pc nic)

Open in new window


Thanks-
0
Comment
Question by:SAbboushi
2 Comments
 
LVL 25

Accepted Solution

by:
Fred Marshall earned 500 total points
ID: 40611400
If you consider that a port or socket is like an address extension then each is different because the address is different.
It's like saying:

101 Main ST, Apt A
202 Main ST, Apt A
409 Elm ST. Apt A

There is no difference between the "Apt A" part of each address.  But it refers to a different place doesn't it?

But, if the notation is like this:

101 Main ST, Apt A
101 Main Street, Apt A
101 Main Street, Apartment A
They all mean the same thing don't they?

127.0.0.1 is the loopback address for the computer its being used on.
0.0.0.0 is the catch all meaning "all addresses".

I hope this helps.
0
 

Author Closing Comment

by:SAbboushi
ID: 40611414
Thanks
0

Featured Post

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Resolve DNS query failed errors for Exchange
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now