Here is a way to connect correctly...
Manipulate strings for tests on Windows