"Cannot connect to IRTrans Server: No connection could be made because the target machine actively refused it 127.0.0.1:21000"
- Code: Select all
Public WithEvents irt As IRTrans.NET.IRTransServer
Public Function Initialize(ByRef lex As LastException) As Boolean
Dim retval As Boolean = True
Try
irt = New IRTrans.NET.IRTransServer("localhost")
Catch ex As Exception
retval = False
lex.ErrorMessage = ex.Message
If Not ex.InnerException Is Nothing Then
lex.ErrorMessage = lex.ErrorMessage & ex.InnerException.Message
End If
End Try
Return retval
End Function