Skip to main content

What is Loopback - localhost address?

The local loopback mechnism is useful for testing software during development, independently of any networking configurations which means no hardware accsociated with it not physically connected to network.

What is Loopback
Loopback is a communication channel with only one endpoint. TCP/IP networks specify a loopback that allows client software to communicate with server software on the same computer. 

Localhost - Loopback address
localhost is a hostname indicating this computer and used to access the network services running on the host via Loopback network interface. On most computer systems, localhost resolves to the IP address 127.0.0.1 in IPv4 loopback address, and to the IP address ::1 in IPv6.

How 127.0.0.1 Works


TCP/IP application programs generate message with IP addressess for intended recipients and TCP/IP recognizes 127.0.0.1 as a special IP address which the protocol checks before sending it and re-routes back to the receiving end of the TCP/IP stack. Messages sent to loopback IP addresses do not reach outside to Local Arean Network but instead are delivered directly to the TCP/IP receive queues as if they had arrived from an outside source.

To improve network security, TCP/IP also checks incoming messages arriving on routers or other network gateways and discards any that contain loopback IP addresses. This prevents a network attacker from disguising their malicious network traffic as coming from a loopback address.

Reference

https://www.lifewire.com/network-computer-special-ip-address-818385
http://www.webopedia.com/TERM/L/loopback.html
https://en.wikipedia.org/wiki/Localhost

Comments

Popular posts from this blog

How to configure LDAPS, LDAP over SSL, using CA Certificate Service on Domain Controller in Windows Server 2016

This post is to provide an instruction on how to set up LDAPS (LDAP over SSL) on Domain Controller using single-tier CA hierachy. Reasons for Enabling LDAPS By default, LDAP communications between client and server applications are not encrypted. This means that it would be possible to use a network monitoring device or software and view the communications traveling between LDAP client and server computers. This is especially problematic when an LDAP simple bind is used because credentials (username and password) is passed over the network unencrypted. This could quickly lead to the compromise of credentials.  Reasons for enabling Lightweight Directory Access Protocol (LDAP) over Secure Sockets Layer (SSL) / Transport Layer Security (TLS) also known as LDAPS include: Some applications authenticate with Active Directory Domain Services (AD DS) through simple BIND. As simple BIND exposes the users’ credentials in clear text, use of Kerberos is preferred. If simp...

Setting up AD LDS on Windows Server 2016

What Is Active Directory Lightweight Directory Services? Microsoft Active Directory Lightweight Directory Services (AD LDS) is an independent mode of Active Directory that provides dedicated directory services for applications. AD LDS is a mode of Active Directory that provides directory services for applications. AD LDS provides dedicated directory services for applications. It provides a data store and services for accessing the data store. It uses standard application programming interfaces (APIs) for accessing the application data. The APIs include those of Active Directory, Active Directory Service Interfaces, Lightweight Data Access Protocol, and System.DirectoryServices. AD LDS operates independently of Active Directory and independently of Active Directory domains or forests. It operates either as a standalone data store, or it operates with replication. Its independence enables local control and autonomy of directory services for specific applications. It al...

How to set up Active Directory Domain Service role in Windows server 2016

This post is showing how to set up Active Directory Domain Service role in Windows Server 2016. Consideration Change server name to meaningful name if not changed yet. How to 1. Add role or feature on the top menu "Manage".   2. Next with role-based or feature-based installation. 3. Select Active Directory Domain Services. 4. Add required features for Active Directory Domain Services. 5. Keep going with default until installing. 6. Once it is successfuly installed, then you need to promote AD server.  7. Add new domain. 8. Type in password for Directory Service Restore Mode and click Next. 10. Proceed with default to installation step. 11. Installation. 12. Once it's all configured, server will reboot. 13. check if you can see ad server on your server now. Done!!.