P5 Websocket Error Not getting resolved

Hi, I downloaded P5 and Serialport.JS I am on Windows 7(x64) with wamp64. On attempting to run the example, i am getting this error on Chrome as well as IE.

 `WebSocket Error: Network Error 12029, A connection with the server could not be established`

Then I went on to download and use p5.serialcontrol-win32-x64 and then I am getting this error

` WebSocket connection to 'ws://localhost:8081/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED`

what am i supposed to do to get this working? Please assist me. It's urgent for my College project. Thanks

Tagged:
Sign In or Register to comment.