EPiServer CMS 6: SocketException with VPN

If you use new EPiServer CMS 6 and have a VPN tunnel open you may get an exception when starting your EPiServer site.

SocketException (0x2747): An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full

This is reported in Bug #33715 that should be fixed but.

How to workaround the defect

Just comment the whole system.serviceModel section in web.config! Or remove the endpoints using soap.udp inside services or clients-tag.

To be more specific, it is the custom soap.udp protocol used by default settings for Remote Events that is not working with VPN.

Remote Events is only needed in a load balanced or enterprise multi-site scenario so there is no problem to remove it.

You can still get it Remote Events to work with VPN using tcp protocol. Read more in my blog: http://blog.fredrikhaglund.se/blog/2009/09/22/episerver-cms-how-to-configure-remote-events-with-many-servers-and-firewalls-between-them/