Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localhost 5000 results in 403 http error #11

Closed
ajcwebdev opened this issue Aug 27, 2022 · 0 comments
Closed

localhost 5000 results in 403 http error #11

ajcwebdev opened this issue Aug 27, 2022 · 0 comments

Comments

@ajcwebdev
Copy link

ajcwebdev commented Aug 27, 2022

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?

sveltejs/template#184

I'm running macOS Monterey 12.5.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant