forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: Reserved Port | ||
--- | ||
|
||
## Why This Error Occurred | ||
|
||
Server was started on a reserved port. For example, `4045` is reserved for the Network Paging Protocol (npp). | ||
|
||
``` | ||
next start -p 4045 | ||
``` | ||
|
||
or | ||
|
||
``` | ||
next dev -p 4045 | ||
``` | ||
|
||
Starting the server on a reserved port will result in an error. | ||
|
||
## Possible Ways to Fix It | ||
|
||
Visit the [port blocking](https://fetch.spec.whatwg.org/#port-blocking) section of WHATWG's fetch spec and ensure your port is not on the known reserved port list. | ||
|
||
## Useful Links | ||
|
||
- https://fetch.spec.whatwg.org/#port-blocking |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters