Create-react-app: Development server on port 80 does not start

Created on 10 Jun 2017  路  2Comments  路  Source: facebook/create-react-app

Description

I was trying to start a app on port 80 I currently working on through WSL.

Expected behavior

It just works fine.

Actual behavior

image

I started it with yarn start. Executing this command in a Windows command line or a PowerShell in the same directory is working fine. Changing the port to something else resolves the issue in WSL too.

Environment

Run these commands in the project folder and fill in their results:

  1. npm ls react-scripts (if you haven鈥檛 ejected): 1.0.6
  2. node -v: 6.11.0
  3. npm -v: 3.10.10

Then, specify:

  1. Operating system: WSL under Windows 10 Version 1703
question

Most helpful comment

Did you try using sudo? Any port under 1024 generally requires administrative permissions.

All 2 comments

Did you try using sudo? Any port under 1024 generally requires administrative permissions.

@Timer Ah didn't know that. Thanks. Is working with sudo now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

barcher picture barcher  路  3Comments

fson picture fson  路  3Comments

Evan-GK picture Evan-GK  路  3Comments

ap13p picture ap13p  路  3Comments

DaveLindberg picture DaveLindberg  路  3Comments