solid-hackernews icon indicating copy to clipboard operation
solid-hackernews copied to clipboard

localhost 5000 results in 403 http error

Open ajcwebdev opened this issue 3 years ago • 0 comments

I'm not sure if this is an issue others are running into, but this tripped me up when I tried to clone and run this project. I checked across Firefox, Chrome, and Brave and there seems to be an issue running localhost:5000. Incognito mode and clearing history didn't seem to make a difference.

Screen Shot 2022-08-27 at 1 37 27 PM

curl "localhost:5000" -i gives:

HTTP/1.1 403 Forbidden
Content-Length: 0
Server: AirTunes/620.8.2

Changing to port 5001 seemed to fix the issue:

{
  "scripts": {
    "start": "serve public -l 5001 -s & rollup -w -c",
    "build": "rollup -c --environment production",
    "serve": "serve public -l 5001 -s",
    "test": "test"
  },
}
Screen Shot 2022-08-27 at 1 33 28 PM

Here's a similar issue, might be an Apple thing?

https://github.com/sveltejs/template/issues/184

I'm running macOS Monterey 12.5.1.

ajcwebdev avatar Aug 27 '22 18:08 ajcwebdev