Level 1
I am having the same issue. Did you find a solution?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am getting these messages after deploying laravel. What am I doing wrong? I ran npm run build on hosting.
GET http://[::1]:5173/@vite/client net::ERR_CONNECTION_REFUSED
resume:14
GET http://[::1]:5173/resources/css/app.css net::ERR_CONNECTION_REFUSED
resume:14
GET http://[::1]:5173/resources/js/app.js net::ERR_CONNECTION_REFUSED
My vite.config.js file
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/app.css',
'resources/js/app.js',
],
refresh: true,
}),
],
});
Please or to participate in this conversation.