Here's the scenario: A client machine has connected to the 'Work network' via VPN (Cisco VPN Client). The work network hosts a machine that has a WCF service with nettcp binding. The client tries to connect to this service and gets an exception as follows:
Could not connect to net.tcp://workMachine:2010/SomeService. The connection attempt lasted for a time span of 00:00:01.3180754. TCP error code 10061: No connection could be made because the target machine actively refused it workMachine:2010.
Things I tried:
- Changed the Workgroup of the client machine to the work network workgroup
- Added domain/username/password for the Windows Networking Password vault, so that it can be used to connect
- Changed the wcf service path with an IP address instead of the workMachine name
- Checked client machine firewalls and added to allow the wcf client through it
All above failed and didn't work. Has anyone encountered similar issues?
The client machine is on Windows 7
SecurityMode of the WCF service is set to NONE - so that shouldn't be an issue.
Any insights will be helpful