Attempted to read or write protected memory

Article Number: 


When creating a ShadowStream replication job connecting to the ShadowStream server one of the following errors are returned.

"Attempted to read or write protected memory.  This is often an indication that other memory is corrupt."
"Unable to connect to the Shadow Stream Server"


All the correct ports used to connect to the ShadowStream server are not open.


Open the ports that are needed to communicate with the ShadowStream Server.

4363 is a data connection control port

4364 Admin connection port (only needed if connecting a remote admin console.)

4365 Data Transfer port

Also ports 54363 to 55263 are needed to be open.  These are all TCP ports and are required to be open in order to create a replication destination for ShadowStream

Windows firewall can be opened with the following command

FOR /L %I IN (54363,1,55263) DO netsh firewall add portopening TCP %I "ShadowStream"%I

Port testing on the ShadowStream server side can use the web site of or any free port scanning software.

Terms and Conditions of Use - Privacy Policy - Cookies