WebSocket connection errors

started getting websocket connection errors after starting a server using IPFS.create().

WebSocket connection to 'wss://node2.preload.ipfs.io/p2p/QmV7gnbW5VTcJ3oyM2Xk1rdFBJ3kTkvxc87UFGsun29STS' failed

Is it possible to provide an alternative list of peers?

Yes, you can self-host and pass your own custom lists of preload, delegate and bootstrap servers via options passed to the constructor: