Ionic2 ionic serve livereload failed

I have a newly created project when I run ionic serve livereload pops these errors:

WebSocket connection to 'ws//localhost:35729/livereload' failed: Connection closed before receiving a handshake response
WebSocket connection to 'ws//localhost:53703/' failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET
WebSocket connection to 'ws//localhost:35729/livereload' failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET

I have tried the following:

  1. Clear browser cache
  2. Turn off all AntiVirus software
  3. Checked the port isnt being used

Try stop and re run # ionic serve --lab

Using the --lab the console still pops those errors. Livereload is still not working.

I found out the problem was caused by the VPN I was using. Shut it down solved the problem. :sweat_smile:

1 Like