Netlify local port with vite

I am using netlify with vite and wish to access a local supabase instance (with a webhook). On

npm run dev

the server starts at http://localhost:5174

I have used thus url in my webhook, but it does not communicate with my function

I expected netlify to start at port 8888

Is this the problem?