Localhost and Ports

noun

say it: “LOH-kul-hohst and PORTS” /ˈloʊkəlhoʊst ænd pɔːrts/

localhost means your own computer, and the port number tells apart the programs running on it, as in localhost:5000.

What is Localhost and Ports?

localhost means "this computer". An app listens on a port, like 5020, so several apps can run side by side: http://localhost:5020.

In a sentence

  • “With localhost and ports, my API runs at localhost:5000 and my Angular app at localhost:4200.”

Level: Novice · More ASP.NET Core terms at this level

Updated