Engineering Tools for AI

Programming

Dev Server and Deployment Terms

A searchable reference for understanding local development servers, network URLs, ports, builds, static export, deployment, warnings, and common web errors.

42 matching terms

Local development

localhost

localhost

http://localhost:3001

Meaning

A hostname that points back to the same computer that is running the browser or command.

How it is used

Use localhost when checking the site on the same Mac or PC where the dev server is running.

Note

A phone or tablet has its own localhost, so it cannot use your Mac's localhost address.

Example

http://localhost:3001

Request example

Open the local site at localhost and check the new reference page.

Local development

127.0.0.1

127.0.0.1

http://127.0.0.1:3001

Meaning

A loopback IP address that also points to the same local computer.

How it is used

It is often interchangeable with localhost for same-device testing.

Example

http://127.0.0.1:3001

Request example

Try 127.0.0.1 if localhost does not resolve correctly.

Local development

Dev server

Dev server

npm run dev

Meaning

A server used while developing, with fast rebuilds and development-only features.

How it is used

Use it to preview changes before building or deploying the site.

Note

Dev server behavior is not always identical to deployed production behavior.

Example

npm run dev

Request example

Start the dev server so I can check the page on my iPhone.

Local development

Port

Port

http://localhost:3001

Meaning

A number that identifies which server process should receive the connection on a machine.

How it is used

If one server uses port 3001, another server must use a different port such as 3002.

Example

http://localhost:3001

Request example

If port 3001 is already in use, start the dev server on another port.

Local development

Local URL

Local URL

Local: http://localhost:3001

Meaning

The address used from the same device where the dev server is running.

How it is used

Use Local URL for desktop browser checks on the development machine.

Example

Local: http://localhost:3001

Request example

Tell me the Local URL after starting the dev server.

Network access

Network URL

Network URL

Network: http://172.30.1.55:3001

Meaning

An address other devices on the same network can use to reach the dev server.

How it is used

Use it when checking the site from an iPhone, iPad, or another computer on the same Wi-Fi.

Note

The dev server must listen on a network-accessible host such as 0.0.0.0.

Example

Network: http://172.30.1.55:3001

Request example

Start the dev server with a Network URL so I can test it on my iPad.

Network access

IP address

IP address

172.30.1.55

Meaning

A numeric address that identifies a device on a network.

How it is used

A LAN IP lets another device on the same Wi-Fi reach your dev server.

Note

Local network IPs can change when Wi-Fi or router conditions change.

Example

172.30.1.55

Request example

Use the current LAN IP when adding allowedDevOrigins for device testing.

Network access

Host

Host

--hostname 0.0.0.0

Meaning

The address a server binds to when it starts listening for requests.

How it is used

Binding to 0.0.0.0 allows the dev server to be reachable from other devices on the network.

Example

--hostname 0.0.0.0

Request example

Run the dev server with hostname 0.0.0.0 for phone testing.

Network access

Same network

Same network

Mac and iPhone on the same Wi-Fi

Meaning

Devices connected to the same local network, usually the same Wi-Fi router.

How it is used

A phone can reach your Mac's dev server only when network settings allow it.

Example

Mac and iPhone on the same Wi-Fi

Request example

Check that the iPhone and Mac are on the same network before debugging the site.

Next.js behavior

allowedDevOrigins

allowedDevOrigins

allowedDevOrigins: ['172.30.1.55']

Meaning

A Next.js development setting that allows specific origins to access development resources.

How it is used

It can be needed when testing a Next dev server from a phone or tablet using a LAN IP.

Note

This is a development setting. Deployed static sites do not use the same dev-resource access path.

Example

allowedDevOrigins: ['172.30.1.55']

Request example

Add my current LAN IP to allowedDevOrigins for development testing.

Network access

Cross-origin

Cross-origin

Blocked cross-origin request

Meaning

A request between different origins, where scheme, host, or port differs.

How it is used

Development tools may block cross-origin access to sensitive dev resources by default.

Example

Blocked cross-origin request

Request example

Explain whether this cross-origin warning affects production deployment.

Next.js behavior

HMR

HMR

/_next/webpack-hmr

Meaning

Hot Module Replacement updates the browser during development without a full reload.

How it is used

If HMR dev resources are blocked, the page may load but interactive updates or scripts can behave strangely in development.

Note

HMR is development-only and is not part of the final static export.

Example

/_next/webpack-hmr

Request example

Check whether the iPhone issue is caused by blocked HMR dev resources.

Next.js behavior

Turbopack

Turbopack

Next.js 16.2.5 (Turbopack)

Meaning

A bundler used by Next.js for development and build workflows.

How it is used

You may see its name in dev server or build output.

Example

Next.js 16.2.5 (Turbopack)

Request example

Summarize the Turbopack output and tell me whether the build succeeded.

Next.js behavior

App Router

App Router

src/app/[locale]/reference/page.tsx

Meaning

The Next.js routing system based on the app directory.

How it is used

Adding a page.tsx file under a folder creates a route.

Example

src/app/[locale]/reference/page.tsx

Request example

Add the new reference page using the App Router folder structure.

Next.js behavior

generateStaticParams

generateStaticParams

generateStaticParams()

Meaning

A Next.js function that declares which dynamic routes should be generated at build time.

How it is used

Locale pages use it to create /en, /ko, /ja, and other language paths.

Example

generateStaticParams()

Request example

Make sure the new reference page has generateStaticParams for all locales.

Build and output

Build

Build

npm run build

Meaning

The process that compiles and prepares the site for production or static output.

How it is used

Run build before deployment to catch TypeScript, route, and static generation problems.

Example

npm run build

Request example

Run the build and confirm the new route is generated.

Build and output

Lint

Lint

npm run lint

Meaning

A static code check that catches style, correctness, and framework-rule issues.

How it is used

Lint is a quick check before build or commit.

Example

npm run lint

Request example

Run lint after editing the reference pages.

Build and output

Static export

Static export

output: "export"

Meaning

A build output where pages are generated as static files instead of needing a running server.

How it is used

Static export is useful for hosting sites as prebuilt HTML, CSS, and JavaScript files.

Note

Some server-only features do not work with static export.

Example

output: "export"

Request example

Keep the new page compatible with static export.

Build and output

SSG

SSG

● (SSG) prerendered as static HTML

Meaning

Static Site Generation creates pages at build time.

How it is used

Reference pages with generateStaticParams are generated for each locale during build.

Example

● (SSG) prerendered as static HTML

Request example

Confirm that the reference route appears as SSG in the build output.

Build and output

Prerender

Prerender

prerendered as static content

Meaning

Rendering a page before a user requests it, usually during build.

How it is used

Prerendered pages load fast because HTML already exists.

Example

prerendered as static content

Request example

Check that all locale pages are prerendered successfully.

Build and output

Bundle

Bundle

static JS bundle

Meaning

Compiled files that combine code and dependencies for the browser.

How it is used

Large bundles can affect load speed and should be watched as the site grows.

Example

static JS bundle

Request example

Avoid adding a heavy library just for a simple reference page.

Deployment

Deploy

Deploy

deploy static output

Meaning

Publishing the built site so users can access it on the web.

How it is used

Deployment happens after local checks, lint, and build pass.

Example

deploy static output

Request example

Do not deploy yet; just prepare the page and run build.

Deployment

Production

Production

production deployment

Meaning

The real deployed environment that users access.

How it is used

Production should be tested differently from the local dev server because dev-only features are absent.

Example

production deployment

Request example

Explain whether this warning affects production or only development.

Deployment

Hosting

Hosting

static hosting provider

Meaning

The service or server that stores and serves the deployed site files.

How it is used

Static export can be served by static hosting when server logic is not required.

Example

static hosting provider

Request example

Make sure the output works on static hosting.

Deployment

Domain

Domain

example.com

Meaning

The human-readable address users type to reach a site.

How it is used

A domain points to the deployed hosting location through DNS.

Example

example.com

Request example

Do not hard-code localhost in links that should work on the production domain.

Deployment

DNS

DNS

A record / CNAME record

Meaning

The system that maps a domain name to the server or hosting target.

How it is used

DNS must be configured correctly for a custom domain to reach the deployed site.

Example

A record / CNAME record

Request example

Explain whether the issue is a DNS problem or an app build problem.

Deployment

Cache

Cache

clear browser cache

Meaning

Stored copies of files or responses used to load pages faster.

How it is used

After deployment, old cached files can make a browser show a previous version for a while.

Example

clear browser cache

Request example

Check whether the old page is still showing because of cache.

Runtime

Node.js

Node.js

node --version

Meaning

A JavaScript runtime used to run development tools, build scripts, and servers.

How it is used

Next.js dev and build commands run on Node.js.

Example

node --version

Request example

Tell me whether this warning comes from Node.js, Next.js, or my app code.

Runtime

npm

npm

npm run build

Meaning

A package manager and script runner commonly used in JavaScript projects.

How it is used

package.json defines scripts such as dev, lint, and build that npm can run.

Example

npm run build

Request example

Run the npm build script and summarize the result.

Runtime

package.json

package.json

"scripts": { "dev": "next dev -p 3001" }

Meaning

A project file that defines scripts, dependencies, and package metadata.

How it is used

Check package.json to know which commands the project expects you to run.

Example

"scripts": { "dev": "next dev -p 3001" }

Request example

Check package.json before deciding which dev command to run.

Runtime

Environment variable

Environment variable

NEXT_PUBLIC_SITE_URL=https://example.com

Meaning

A value supplied to the app or build environment outside the source code.

How it is used

Environment variables are used for site URLs, API keys, and deployment-specific settings.

Note

Secrets should not be exposed through public client-side variables.

Example

NEXT_PUBLIC_SITE_URL=https://example.com

Request example

Do not hard-code the production site URL if an environment variable already exists.

Errors and warnings

404

404

404 Not Found

Meaning

An error meaning the requested page or file was not found.

How it is used

It can happen when a route was deleted, renamed, or not generated in static output.

Example

404 Not Found

Request example

Check whether the old programming-basics URL now returns 404 after removal.

Errors and warnings

500

500

500 Internal Server Error

Meaning

An error meaning the server failed while handling the request.

How it is used

In development, the terminal or browser overlay usually shows the source error.

Example

500 Internal Server Error

Request example

If a 500 appears, inspect the terminal error and identify the failing file.

Errors and warnings

Module not found

Module not found

Module not found: Can't resolve '@/lib/programming'

Meaning

An error meaning an import points to a file or package that cannot be found.

How it is used

It often happens after moving, deleting, or renaming files without updating imports.

Example

Module not found: Can't resolve '@/lib/programming'

Request example

Find and update any imports that still point to the removed file.

Errors and warnings

Export not found

Export not found

Export programmingBasicsCopy doesn't exist

Meaning

An error meaning a file exists, but the requested named export is not provided by that file.

How it is used

It can happen when a data object is renamed but imports still use the old name.

Example

Export programmingBasicsCopy doesn't exist

Request example

Replace the old export name with the new one everywhere.

Errors and warnings

EADDRINUSE

EADDRINUSE

listen EADDRINUSE: address already in use 0.0.0.0:3001

Meaning

An error meaning another process is already using the requested host and port.

How it is used

Use another port or stop the existing server if you intentionally want to replace it.

Example

listen EADDRINUSE: address already in use 0.0.0.0:3001

Request example

If EADDRINUSE appears, tell me which port is busy and use a different one.

Errors and warnings

DeprecationWarning

DeprecationWarning

[DEP0205] DeprecationWarning: module.register() is deprecated

Meaning

A warning that an API still works now but may be removed or changed later.

How it is used

Warnings should be noticed, but they are not always build-blocking errors.

Example

[DEP0205] DeprecationWarning: module.register() is deprecated

Request example

Tell me whether this DeprecationWarning is harmless or requires a code change.

Errors and warnings

Hydration

Hydration

Hydration failed because the server rendered HTML didn't match

Meaning

The process where client-side JavaScript connects to server-rendered HTML.

How it is used

Mismatch errors happen when server and client render different initial content.

Example

Hydration failed because the server rendered HTML didn't match

Request example

If hydration fails, check which component renders differently on the client.

Commands

npm run dev

npm run dev

npm run dev

Meaning

A project script that starts the local development server.

How it is used

Use it while editing pages and checking changes locally.

Example

npm run dev

Request example

Run npm run dev and give me the Local and Network URLs.

Commands

npm run build

npm run build

npm run build

Meaning

A project script that creates the production build or static export.

How it is used

Run it after changes to ensure the app can be generated successfully.

Example

npm run build

Request example

Run npm run build and summarize any warnings or failures.

Commands

npm run lint

npm run lint

npm run lint

Meaning

A project script that runs lint checks.

How it is used

Run it before build to catch many code issues quickly.

Example

npm run lint

Request example

Run lint before building the site.

Commands

curl

curl

curl -I http://localhost:3001/ko

Meaning

A command-line tool for making HTTP requests and checking responses.

How it is used

curl can quickly check whether a local or deployed page responds with 200, 404, or another status.

Example

curl -I http://localhost:3001/ko

Request example

Use curl to check whether the new reference route returns 200.