Skip to content
Discussion options

You must be logged in to vote

The problem is related with a recent change in Vite, which affects systems where localhost defaults to ::1(IPv6).

Configuring host explicitly to 127.0.0.1 should fix the problem.

  "development": {
    "autoBuild": true,
    "host": "127.0.0.1",
    "publicOutputDir": "vite-dev",
    "port": 3036
  },

I will evaluate changing the default from localhost to 127.0.0.1 since at the moment Vite performs that conversion and causes this issue.

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
4 replies
@ElMassimo
Comment options

@johnvictorfs
Comment options

@ElMassimo
Comment options

@johnvictorfs
Comment options

Comment options

You must be logged in to vote
8 replies
@ElMassimo
Comment options

@KonnorRogers
Comment options

@ElMassimo
Comment options

@eadams17
Comment options

@ElMassimo
Comment options

Answer selected by ElMassimo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #88 on June 08, 2021 23:33.