Error on publish

when publish on iis working fine on local ip but public ip don't work fine , it disconnect blazor server

Hi @Zyad_Mahmoud_Elashwa,

Please check the forum FAQ for tips how to improve your question. It is rather vague as it is now and the community would have very hard time to help.

Error: Connection disconnected with error 'Error: WebSocket closed with status code: 1006 (no reason given).

There is probably a server-side exception happening. You can enable logging to see what the exception is. If you are deploying on a windows server (not specified by you) then you can also check the event log - the exception is usually logged there.

1 Like