Engineering Tools for AI

प्रोग्रामिंग

Network terms

Local development, browser requests, APIs, Docker और deployment troubleshooting में उपयोग होने वाले network terms की guide।

42 terms

पते और नाम

IP address

IP address

192.168.1.25

अर्थ

A numeric address used to find a device on a network.

कब उपयोग करें

Use it when another device needs to reach your computer, server, or container host.

उदाहरण

192.168.1.25

अनुरोध उदाहरण

Explain which IP address I should use from another device.

पते और नाम

IPv4

IPv4

192.168.0.10

अर्थ

The common four-part IP address format.

कब उपयोग करें

Most local network examples use IPv4 addresses such as 192.168.x.x or 10.x.x.x.

उदाहरण

192.168.0.10

अनुरोध उदाहरण

Tell me whether this address is an IPv4 local network address.

पते और नाम

IPv6

IPv6

::1

अर्थ

A newer, longer IP address format designed to provide many more addresses.

कब उपयोग करें

You may see IPv6 in logs, localhost bindings, or server network output.

उदाहरण

::1

अनुरोध उदाहरण

Explain whether this log is using IPv4 or IPv6.

पते और नाम

localhost

localhost

http://localhost:3000

अर्थ

A name that means the same machine where the code or browser is running.

कब उपयोग करें

Use it from the same computer that runs the development server.

सावधानी

On a phone, localhost means the phone itself, not your development computer.

उदाहरण

http://localhost:3000

अनुरोध उदाहरण

Explain why localhost works on my computer but not on my phone.

पते और नाम

127.0.0.1

127.0.0.1

http://127.0.0.1:3000

अर्थ

The common IPv4 loopback address for the current machine.

कब उपयोग करें

Use it as a numeric alternative to localhost.

उदाहरण

http://127.0.0.1:3000

अनुरोध उदाहरण

Explain whether localhost and 127.0.0.1 are equivalent here.

पते और नाम

0.0.0.0

0.0.0.0

next dev -H 0.0.0.0

अर्थ

An address used by servers to listen on all available network interfaces.

कब उपयोग करें

Use it when another device on the same network needs to reach your dev server.

सावधानी

It can expose a development server more broadly than localhost.

उदाहरण

next dev -H 0.0.0.0

अनुरोध उदाहरण

Explain whether this dev server should bind to 0.0.0.0.

पते और नाम

Hostname

Hostname

my-laptop.local

अर्थ

A readable name for a device or server.

कब उपयोग करें

Use it when a network name is easier to remember than an IP address.

उदाहरण

my-laptop.local

अनुरोध उदाहरण

Explain whether this hostname resolves to the expected IP.

पते और नाम

Domain

Domain

example.com

अर्थ

A human-readable internet name for a website or service.

कब उपयोग करें

Use domains for public sites instead of asking users to remember server IP addresses.

उदाहरण

example.com

अनुरोध उदाहरण

Explain what domain this deployed site should use.

पते और नाम

DNS

DNS

example.com -> 93.184.216.34

अर्थ

The system that translates domain names into IP addresses.

कब उपयोग करें

Use DNS records when connecting a domain to a hosting service or server.

उदाहरण

example.com -> 93.184.216.34

अनुरोध उदाहरण

Explain which DNS record is needed for this domain.

पोर्ट और कनेक्शन

Port

Port

3000

अर्थ

A number that identifies which app or service receives traffic on a machine.

कब उपयोग करें

Development servers often use ports such as 3000, 3001, 5173, or 8000.

उदाहरण

3000

अनुरोध उदाहरण

Tell me which port this server is using.

पोर्ट और कनेक्शन

Listen

Listen

Ready on http://localhost:3000

अर्थ

A server is listening when it is ready to accept requests on an address and port.

कब उपयोग करें

Check listening output to know which URL can be opened in the browser.

उदाहरण

Ready on http://localhost:3000

अनुरोध उदाहरण

Explain where this server is listening.

पोर्ट और कनेक्शन

Port forwarding

Port forwarding

8080 -> 3000

अर्थ

Forwarding traffic from one port or machine to another port or machine.

कब उपयोग करें

Use it in routers, tunnels, containers, and remote development environments.

उदाहरण

8080 -> 3000

अनुरोध उदाहरण

Explain where this port is forwarded.

पोर्ट और कनेक्शन

Firewall

Firewall

Allow incoming connections on port 3000

अर्थ

A rule system that allows or blocks network traffic.

कब उपयोग करें

Check it when a server runs locally but another device cannot connect.

उदाहरण

Allow incoming connections on port 3000

अनुरोध उदाहरण

Explain whether a firewall could block this local connection.

Web requests

URL

URL

https://example.com/docs?page=1

अर्थ

The full address used to request a web resource.

कब उपयोग करें

A URL includes protocol, host, optional port, path, query string, and sometimes a fragment.

उदाहरण

https://example.com/docs?page=1

अनुरोध उदाहरण

Break this URL into protocol, host, port, path, and query.

Web requests

Path

Path

/ko/reference/docker

अर्थ

The part of a URL that identifies a route or resource on the server.

कब उपयोग करें

Use it to understand which page or API endpoint is being requested.

उदाहरण

/ko/reference/docker

अनुरोध उदाहरण

Tell me which app route this URL path maps to.

Web requests

Query string

Query string

?page=1&lang=ko

अर्थ

The part of a URL after ? that passes extra parameters.

कब उपयोग करें

Use it for filters, page numbers, search terms, and lightweight options.

उदाहरण

?page=1&lang=ko

अनुरोध उदाहरण

Explain what query parameters this URL sends.

Web requests

HTTP

HTTP

http://localhost:3000

अर्थ

The basic protocol browsers and servers use for web requests and responses.

कब उपयोग करें

Local development often uses HTTP before production HTTPS is configured.

उदाहरण

http://localhost:3000

अनुरोध उदाहरण

Explain whether this local URL uses HTTP or HTTPS.

Web requests

HTTPS

HTTPS

https://example.com

अर्थ

HTTP protected by TLS encryption.

कब उपयोग करें

Use HTTPS for public sites, login, cookies, payments, APIs, and production traffic.

उदाहरण

https://example.com

अनुरोध उदाहरण

Explain whether this deployed site needs HTTPS.

Web requests

HTTP method

HTTP method

GET /api/tools

अर्थ

A verb that tells the server what kind of action the request wants.

कब उपयोग करें

GET usually reads data, while POST usually creates or submits data.

उदाहरण

GET /api/tools

अनुरोध उदाहरण

Explain which HTTP method this API request should use.

Web requests

Status code

Status code

200 OK / 404 Not Found / 500 Internal Server Error

अर्थ

A number that summarizes the result of an HTTP response.

कब उपयोग करें

Use it to quickly separate success, redirect, client error, and server error responses.

उदाहरण

200 OK / 404 Not Found / 500 Internal Server Error

अनुरोध उदाहरण

Explain what this HTTP status code means.

Web requests

Header

Header

Content-Type: application/json

अर्थ

Metadata sent with an HTTP request or response.

कब उपयोग करें

Headers carry content type, authorization, cookies, cache rules, and CORS settings.

उदाहरण

Content-Type: application/json

अनुरोध उदाहरण

Explain the important headers in this response.

Web requests

Body

Body

{"name":"demo"}

अर्थ

The main data content sent in an HTTP request or response.

कब उपयोग करें

POST and PUT requests often send JSON data in the body.

उदाहरण

{"name":"demo"}

अनुरोध उदाहरण

Explain what data this request body sends.

ब्राउज़र सुरक्षा

Origin

Origin

http://192.168.1.25:3000

अर्थ

The combination of protocol, host, and port.

कब उपयोग करें

Use origin to reason about CORS, cookies, and browser security rules.

सावधानी

Changing only the port creates a different origin.

उदाहरण

http://192.168.1.25:3000

अनुरोध उदाहरण

Identify the origin of this URL.

ब्राउज़र सुरक्षा

Same-origin policy

Same-origin policy

https://app.example.com cannot freely read https://api.example.com

अर्थ

A browser rule that restricts how pages can read data from other origins.

कब उपयोग करें

Use it to understand why browser API requests can fail even when the server is reachable.

उदाहरण

https://app.example.com cannot freely read https://api.example.com

अनुरोध उदाहरण

Explain whether this is a same-origin policy problem.

ब्राउज़र सुरक्षा

CORS

CORS

Access-Control-Allow-Origin: https://app.example.com

अर्थ

A server-side permission system that lets browsers use responses from another origin.

कब उपयोग करें

Use it when a frontend app calls an API hosted on a different origin.

सावधानी

CORS must be allowed by the server that sends the response.

उदाहरण

Access-Control-Allow-Origin: https://app.example.com

अनुरोध उदाहरण

Tell me whether this CORS error should be fixed in frontend code or server settings.

ब्राउज़र सुरक्षा

Cookie

Cookie

Set-Cookie: session=abc; HttpOnly

अर्थ

Small data stored by the browser and sent back to matching sites.

कब उपयोग करें

Cookies are often used for sessions, preferences, and authentication state.

उदाहरण

Set-Cookie: session=abc; HttpOnly

अनुरोध उदाहरण

Explain whether this login state is stored in a cookie.

ब्राउज़र सुरक्षा

Session

Session

session_id=abc123

अर्थ

A way to remember user state across multiple requests.

कब उपयोग करें

Use sessions to maintain login state or temporary server-side user data.

उदाहरण

session_id=abc123

अनुरोध उदाहरण

Explain how this app keeps the user session.

ब्राउज़र सुरक्षा

Token

Token

Authorization: Bearer <token>

अर्थ

A string used to prove identity or permission.

कब उपयोग करें

Use tokens for API authentication, temporary access, and service-to-service requests.

सावधानी

Tokens can grant access, so they should not be exposed in public code or logs.

उदाहरण

Authorization: Bearer <token>

अनुरोध उदाहरण

Check whether this token is being exposed to the browser.

ब्राउज़र सुरक्षा

TLS certificate

TLS certificate

Let's Encrypt certificate

अर्थ

A certificate used by HTTPS to prove a site's identity and encrypt traffic.

कब उपयोग करें

Use it when serving a production site over HTTPS.

उदाहरण

Let's Encrypt certificate

अनुरोध उदाहरण

Explain why this browser says the certificate is invalid.

लोकल विकास

Local network

Local network

Laptop and phone on the same Wi-Fi

अर्थ

A private network where nearby devices can communicate, such as the same Wi-Fi.

कब उपयोग करें

Use it when testing a local dev server from a phone or tablet.

उदाहरण

Laptop and phone on the same Wi-Fi

अनुरोध उदाहरण

Explain whether these devices are on the same local network.

लोकल विकास

LAN IP

LAN IP

192.168.1.25

अर्थ

An IP address used inside a local network.

कब उपयोग करें

Use it from another device on the same network to reach your development machine.

उदाहरण

192.168.1.25

अनुरोध उदाहरण

Tell me the difference between localhost and a LAN IP.

लोकल विकास

Network URL

Network URL

http://192.168.1.25:3000

अर्थ

A URL that another device on the same network can use to reach a local server.

कब उपयोग करें

Use it when testing a responsive page on a phone or tablet.

सावधानी

The dev server may also need to listen on 0.0.0.0 and allow the origin.

उदाहरण

http://192.168.1.25:3000

अनुरोध उदाहरण

Explain how to open this dev server from a phone.

लोकल विकास

Dev server

Dev server

npm run dev

अर्थ

A local server used while developing and testing an app.

कब उपयोग करें

Use it for fast reloads, local previews, and debugging before production build.

उदाहरण

npm run dev

अनुरोध उदाहरण

Explain which local URL and network URL this dev server exposes.

लोकल विकास

HMR

HMR

/_next/webpack-hmr

अर्थ

A development feature that updates the browser when code changes.

कब उपयोग करें

Use it to keep the browser state while editing UI code.

उदाहरण

/_next/webpack-hmr

अनुरोध उदाहरण

Explain whether this blocked request is related to HMR.

सर्वर और Docker

Proxy

Proxy

Browser -> proxy -> API

अर्थ

A server that sends requests on behalf of a client.

कब उपयोग करें

Use it to route requests, hide backend details, or avoid direct browser-to-API calls in development.

उदाहरण

Browser -> proxy -> API

अनुरोध उदाहरण

Explain whether this API request goes through a proxy.

सर्वर और Docker

Reverse proxy

Reverse proxy

Nginx -> app:3000

अर्थ

A server that receives public traffic and forwards it to internal services.

कब उपयोग करें

Use it for HTTPS termination, routing, compression, caching, and forwarding to app servers.

उदाहरण

Nginx -> app:3000

अनुरोध उदाहरण

Explain how this reverse proxy routes traffic to the app.

सर्वर और Docker

Docker port mapping

Docker port mapping

3000:3000

अर्थ

A mapping from a host port to a container port.

कब उपयोग करें

Use it so a browser on the host can reach a web app running inside a container.

सावधानी

In Docker ports, the left side is the host port and the right side is the container port.

उदाहरण

3000:3000

अनुरोध उदाहरण

Explain the browser URL for this Docker port mapping.

सर्वर और Docker

host.docker.internal

host.docker.internal

http://host.docker.internal:3000

अर्थ

A special hostname containers can use to reach the host machine in many Docker Desktop setups.

कब उपयोग करें

Use it when a container must call a service running on the host machine.

उदाहरण

http://host.docker.internal:3000

अनुरोध उदाहरण

Explain whether this container should use host.docker.internal.

सर्वर और Docker

Service name

Service name

postgres://db:5432/app

अर्थ

In Docker Compose, services can often reach each other by service name.

कब उपयोग करें

Use db, api, redis, or other compose service names instead of localhost between containers.

उदाहरण

postgres://db:5432/app

अनुरोध उदाहरण

Explain why this container should use the db service name instead of localhost.

सर्वर और Docker

Load balancer

Load balancer

Client -> load balancer -> app servers

अर्थ

A system that distributes incoming traffic across multiple servers.

कब उपयोग करें

Use it when one app has multiple running instances for scale or reliability.

उदाहरण

Client -> load balancer -> app servers

अनुरोध उदाहरण

Explain where a load balancer fits in this deployment.

सर्वर और Docker

CDN

CDN

Static assets served from an edge cache

अर्थ

A distributed network that serves content from locations closer to users.

कब उपयोग करें

Use it to speed up static assets, images, scripts, styles, and cached pages.

उदाहरण

Static assets served from an edge cache

अनुरोध उदाहरण

Explain whether this static site benefits from a CDN.

सर्वर और Docker

Cache

Cache

Cache-Control: max-age=3600

अर्थ

Saved data or responses reused to make future requests faster.

कब उपयोग करें

Use cache for static files, API responses, pages, and CDN edge content.

सावधानी

Old cached content can make a fixed bug appear unfixed.

उदाहरण

Cache-Control: max-age=3600

अनुरोध उदाहरण

Explain whether this issue could be caused by cache.