Engineering Tools for AI

Programmierung

Netzwerkbegriffe

Ein Suchleitfaden zu Netzwerkbegriffen in lokaler Entwicklung, Browser-Requests, APIs, Docker und Deployment-Fehlersuche.

42 Treffer

Adressen und Namen

IP address

IP address

192.168.1.25

Bedeutung

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

Einsatz

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

Beispiel

192.168.1.25

Anfragebeispiel

Explain which IP address I should use from another device.

Adressen und Namen

IPv4

IPv4

192.168.0.10

Bedeutung

The common four-part IP address format.

Einsatz

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

Beispiel

192.168.0.10

Anfragebeispiel

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

Adressen und Namen

IPv6

IPv6

::1

Bedeutung

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

Einsatz

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

Beispiel

::1

Anfragebeispiel

Explain whether this log is using IPv4 or IPv6.

Adressen und Namen

localhost

localhost

http://localhost:3000

Bedeutung

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

Einsatz

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

Vorsicht

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

Beispiel

http://localhost:3000

Anfragebeispiel

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

Adressen und Namen

127.0.0.1

127.0.0.1

http://127.0.0.1:3000

Bedeutung

The common IPv4 loopback address for the current machine.

Einsatz

Use it as a numeric alternative to localhost.

Beispiel

http://127.0.0.1:3000

Anfragebeispiel

Explain whether localhost and 127.0.0.1 are equivalent here.

Adressen und Namen

0.0.0.0

0.0.0.0

next dev -H 0.0.0.0

Bedeutung

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

Einsatz

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

Vorsicht

It can expose a development server more broadly than localhost.

Beispiel

next dev -H 0.0.0.0

Anfragebeispiel

Explain whether this dev server should bind to 0.0.0.0.

Adressen und Namen

Hostname

Hostname

my-laptop.local

Bedeutung

A readable name for a device or server.

Einsatz

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

Beispiel

my-laptop.local

Anfragebeispiel

Explain whether this hostname resolves to the expected IP.

Adressen und Namen

Domain

Domain

example.com

Bedeutung

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

Einsatz

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

Beispiel

example.com

Anfragebeispiel

Explain what domain this deployed site should use.

Adressen und Namen

DNS

DNS

example.com -> 93.184.216.34

Bedeutung

The system that translates domain names into IP addresses.

Einsatz

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

Beispiel

example.com -> 93.184.216.34

Anfragebeispiel

Explain which DNS record is needed for this domain.

Ports und Verbindungen

Port

Port

3000

Bedeutung

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

Einsatz

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

Beispiel

3000

Anfragebeispiel

Tell me which port this server is using.

Ports und Verbindungen

Listen

Listen

Ready on http://localhost:3000

Bedeutung

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

Einsatz

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

Beispiel

Ready on http://localhost:3000

Anfragebeispiel

Explain where this server is listening.

Ports und Verbindungen

Port forwarding

Port forwarding

8080 -> 3000

Bedeutung

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

Einsatz

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

Beispiel

8080 -> 3000

Anfragebeispiel

Explain where this port is forwarded.

Ports und Verbindungen

Firewall

Firewall

Allow incoming connections on port 3000

Bedeutung

A rule system that allows or blocks network traffic.

Einsatz

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

Beispiel

Allow incoming connections on port 3000

Anfragebeispiel

Explain whether a firewall could block this local connection.

Web-Anfragen

URL

URL

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

Bedeutung

The full address used to request a web resource.

Einsatz

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

Beispiel

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

Anfragebeispiel

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

Web-Anfragen

Path

Path

/ko/reference/docker

Bedeutung

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

Einsatz

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

Beispiel

/ko/reference/docker

Anfragebeispiel

Tell me which app route this URL path maps to.

Web-Anfragen

Query string

Query string

?page=1&lang=ko

Bedeutung

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

Einsatz

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

Beispiel

?page=1&lang=ko

Anfragebeispiel

Explain what query parameters this URL sends.

Web-Anfragen

HTTP

HTTP

http://localhost:3000

Bedeutung

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

Einsatz

Local development often uses HTTP before production HTTPS is configured.

Beispiel

http://localhost:3000

Anfragebeispiel

Explain whether this local URL uses HTTP or HTTPS.

Web-Anfragen

HTTPS

HTTPS

https://example.com

Bedeutung

HTTP protected by TLS encryption.

Einsatz

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

Beispiel

https://example.com

Anfragebeispiel

Explain whether this deployed site needs HTTPS.

Web-Anfragen

HTTP method

HTTP method

GET /api/tools

Bedeutung

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

Einsatz

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

Beispiel

GET /api/tools

Anfragebeispiel

Explain which HTTP method this API request should use.

Web-Anfragen

Status code

Status code

200 OK / 404 Not Found / 500 Internal Server Error

Bedeutung

A number that summarizes the result of an HTTP response.

Einsatz

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

Beispiel

200 OK / 404 Not Found / 500 Internal Server Error

Anfragebeispiel

Explain what this HTTP status code means.

Web-Anfragen

Header

Header

Content-Type: application/json

Bedeutung

Metadata sent with an HTTP request or response.

Einsatz

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

Beispiel

Content-Type: application/json

Anfragebeispiel

Explain the important headers in this response.

Web-Anfragen

Body

Body

{"name":"demo"}

Bedeutung

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

Einsatz

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

Beispiel

{"name":"demo"}

Anfragebeispiel

Explain what data this request body sends.

Browser-Sicherheit

Origin

Origin

http://192.168.1.25:3000

Bedeutung

The combination of protocol, host, and port.

Einsatz

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

Vorsicht

Changing only the port creates a different origin.

Beispiel

http://192.168.1.25:3000

Anfragebeispiel

Identify the origin of this URL.

Browser-Sicherheit

Same-origin policy

Same-origin policy

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

Bedeutung

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

Einsatz

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

Beispiel

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

Anfragebeispiel

Explain whether this is a same-origin policy problem.

Browser-Sicherheit

CORS

CORS

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

Bedeutung

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

Einsatz

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

Vorsicht

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

Beispiel

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

Anfragebeispiel

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

Browser-Sicherheit

Cookie

Cookie

Set-Cookie: session=abc; HttpOnly

Bedeutung

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

Einsatz

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

Beispiel

Set-Cookie: session=abc; HttpOnly

Anfragebeispiel

Explain whether this login state is stored in a cookie.

Browser-Sicherheit

Session

Session

session_id=abc123

Bedeutung

A way to remember user state across multiple requests.

Einsatz

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

Beispiel

session_id=abc123

Anfragebeispiel

Explain how this app keeps the user session.

Browser-Sicherheit

Token

Token

Authorization: Bearer <token>

Bedeutung

A string used to prove identity or permission.

Einsatz

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

Vorsicht

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

Beispiel

Authorization: Bearer <token>

Anfragebeispiel

Check whether this token is being exposed to the browser.

Browser-Sicherheit

TLS certificate

TLS certificate

Let's Encrypt certificate

Bedeutung

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

Einsatz

Use it when serving a production site over HTTPS.

Beispiel

Let's Encrypt certificate

Anfragebeispiel

Explain why this browser says the certificate is invalid.

Lokale Entwicklung

Local network

Local network

Laptop and phone on the same Wi-Fi

Bedeutung

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

Einsatz

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

Beispiel

Laptop and phone on the same Wi-Fi

Anfragebeispiel

Explain whether these devices are on the same local network.

Lokale Entwicklung

LAN IP

LAN IP

192.168.1.25

Bedeutung

An IP address used inside a local network.

Einsatz

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

Beispiel

192.168.1.25

Anfragebeispiel

Tell me the difference between localhost and a LAN IP.

Lokale Entwicklung

Network URL

Network URL

http://192.168.1.25:3000

Bedeutung

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

Einsatz

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

Vorsicht

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

Beispiel

http://192.168.1.25:3000

Anfragebeispiel

Explain how to open this dev server from a phone.

Lokale Entwicklung

Dev server

Dev server

npm run dev

Bedeutung

A local server used while developing and testing an app.

Einsatz

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

Beispiel

npm run dev

Anfragebeispiel

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

Lokale Entwicklung

HMR

HMR

/_next/webpack-hmr

Bedeutung

A development feature that updates the browser when code changes.

Einsatz

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

Beispiel

/_next/webpack-hmr

Anfragebeispiel

Explain whether this blocked request is related to HMR.

Server und Docker

Proxy

Proxy

Browser -> proxy -> API

Bedeutung

A server that sends requests on behalf of a client.

Einsatz

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

Beispiel

Browser -> proxy -> API

Anfragebeispiel

Explain whether this API request goes through a proxy.

Server und Docker

Reverse proxy

Reverse proxy

Nginx -> app:3000

Bedeutung

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

Einsatz

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

Beispiel

Nginx -> app:3000

Anfragebeispiel

Explain how this reverse proxy routes traffic to the app.

Server und Docker

Docker port mapping

Docker port mapping

3000:3000

Bedeutung

A mapping from a host port to a container port.

Einsatz

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

Vorsicht

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

Beispiel

3000:3000

Anfragebeispiel

Explain the browser URL for this Docker port mapping.

Server und Docker

host.docker.internal

host.docker.internal

http://host.docker.internal:3000

Bedeutung

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

Einsatz

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

Beispiel

http://host.docker.internal:3000

Anfragebeispiel

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

Server und Docker

Service name

Service name

postgres://db:5432/app

Bedeutung

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

Einsatz

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

Beispiel

postgres://db:5432/app

Anfragebeispiel

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

Server und Docker

Load balancer

Load balancer

Client -> load balancer -> app servers

Bedeutung

A system that distributes incoming traffic across multiple servers.

Einsatz

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

Beispiel

Client -> load balancer -> app servers

Anfragebeispiel

Explain where a load balancer fits in this deployment.

Server und Docker

CDN

CDN

Static assets served from an edge cache

Bedeutung

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

Einsatz

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

Beispiel

Static assets served from an edge cache

Anfragebeispiel

Explain whether this static site benefits from a CDN.

Server und Docker

Cache

Cache

Cache-Control: max-age=3600

Bedeutung

Saved data or responses reused to make future requests faster.

Einsatz

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

Vorsicht

Old cached content can make a fixed bug appear unfixed.

Beispiel

Cache-Control: max-age=3600

Anfragebeispiel

Explain whether this issue could be caused by cache.