Closed CharidimosTzedakis closed 2 months ago
@CharidimosTzedakis you should be able to use IPv6 hostnames in both dev / production servers using the latest version, so please upgrade the @lazarv/react-server
package. Thanks for reporting!
This issue has been locked since it has been closed for more than 30 days.
If you have found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest version of @lazarv/react-server. If you have any other comments you should create a new discussion.
Describe the bug
I try to spin up a react-server with IPv6 localhost address:
react-server ./src/remote.tsx --name remote --host ::1 --port 3001
I get the following error: Invalid URL
I guess it might not be very common, but the IPv6 urls could be supported when the url is created:
Possibly also in this point as well: https://github.com/lazarv/react-server/blob/main/packages/react-server/lib/start/create-server.mjs#L97
Solution could be something like:
Reproduction
No response
Steps to reproduce
Run
react-server ./src/remote.tsx --name remote --host ::1 --port 3001
System Info
Used Package Manager
pnpm
Logs
No response
Validations