Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sunscreem's avatar

Using vite and vscode Remote SSH extension

Has anyone managed to get this working yet? I just seem to be having issue after issue, to the point where I'm keen to find out if I'm trying to achieve the impossible lol.

Happy to share my issues but curious if anyone else has this set up and has anything working yet?

0 likes
3 replies
vincent15000's avatar

I can't help you about VSCode, but what's your question about Vite ? Do you example a precise question ?

1 like
sunscreem's avatar

@vincent15000 Thanks. I've managed to get it working in so far as the assets (JS and CSS) are being loaded from my remote server no problem. Where it falls over is the websocket connection. It just times out.

Do you know what that connection is for (I'm assuming its HMR?) and do you know if it's possible to configure the domain and port that it uses?

jasonjpeters's avatar

I am also curios to know how to use laravel + inertiajs + vite hosted on a remote dev server

Please or to participate in this conversation.