DEV Community

Shahriyar Al Mustakim Mitul
Shahriyar Al Mustakim Mitul

Posted on

 

Difference between Internal and External IP address

Assume that you have deployed a Virtual Machine in GCP and now, you can see 2 IP address. One is for the internal usages (Internal IP) another is to expose to the world (External IP address).

Using the External IP address, one can see changes to your Virtual machine or server.

Image description

These are the few thing you need to remember regarding them:

Image description

Internal IP address remains despite you stop the Virtual Machine.

Image description

But External IP address gets generated when you create a Virtual machine or run a stopped Virtual Machine.

Image description

Image description

Summary:
Internal IP address is created to work for internal purposes where External IP address is created to show the world your works πŸ˜‰.

Top comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.