I have created and successfully installed (and have running) as windows service with .Net Remoting. However when I try to connect using the client application it tells me that my connection was refused. I can't figure out why, I have tried a user accout, network service, local service, and local system. This is the only code in my onStart event.
any assistance would be helpful!
Code:
Try
Dim MyChannel As TcpChannel
Dim Port As Integer = "4895"
MyChannel = New TcpChannel(Port)
ChannelServices.RegisterChannel(MyChannel)
'--reg all of the classes
Dim MedCommObj As System.Type
MedCommObj = GetType(MedCommServer.MedComm)
RemotingConfiguration.RegisterWellKnownServiceType(MedCommObj, "MedCommClass", WellKnownObjectMode.SingleCall)
Catch ex As Exception
WriteError(ex)
End Try
any assistance would be helpful!