Solved

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

Posted on 2015-02-15
2
153 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

810 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