Find out the ports in the network
When making a network request, useIP address, Or hostname, and aport.
What is a port anyway?
This technology was introduced to allow multiple applications to respond with the same protocol on the same computer.
For example, we may have a web server running on the computer. You can start a second web server on another port.
Assume that the first one is running on port 80, which is the default port for web servers that use the HTTP protocol. The same port can run on any port other than port 80. For example, port 8080 or port 81 is usually used.
By default, HTTPS runs on port 443.
Each protocol has a different default port, but the program does not need to use the default port. They can use any unused port between 1 and 65535 (16-bit unsigned = 2^16). Here is oneList of default port numbersApplicable to all protocols based on TCP and UDP.
- FTP usage 21
- Telnet use 23
- SMTP usage 25
- POP3 use 110
.. Although now for all these services, you should use other port-based security counterparts.
More web tutorials:
- Introduction to WebSockets
- How HTTP requests work
- List of HTTP request headers
- List of HTTP response headers
- HTTP and HTTPS
- What is RFC?
- HTTP protocol
- HTTPS protocol
- The curl guide for HTTP requests
- HTTP cache
- List of HTTP status codes
- What is CDN?
- HTTP/2 protocol
- What is the port
- DNS, Domain Name System
- TCP protocol
- UDP protocol
- Introduction to REST API
- How to install a local SSL certificate in macOS
- How to generate a local SSL certificate
- How to configure Nginx for HTTPS
- A simple Nginx reverse proxy for serving multiple Node.js applications from subfolders
- What is a reverse proxy?