Subject: Matrix.vNext: connect to chat server on different port than 5222
We use the following code to connect to our chat server on port 80:
I have configured a prosody server to run locally only on port 80. The code throws a
Navigating through the DotNetty stacktrace (in ) I could find the following interesting fact:
In DotNetty.Transport.dll!DotNetty.Transport.Channels.Sockets.TcpSocketChannel.DoFinishConnect(DotNetty.Transport.Channels.Sockets.SocketChannelAsyncOperation operation) the RemoteEndPoint property of the operation was set to {[::1]:5222} so it seems like the port was not propagated properly.
Thanks in advance for looking into this!
Cheers,
apaulus
- {
- Username = "testuser",
- Password = "somepassword",
- Port = 80,
- XmppDomain = "localhost",
- };
- await client.ConnectAsync();
I have configured a prosody server to run locally only on port 80. The code throws a
- System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it
- at DotNetty.Transport.Channels.Sockets.SocketChannelAsyncOperation.Validate()
Navigating through the DotNetty stacktrace (in ) I could find the following interesting fact:
In DotNetty.Transport.dll!DotNetty.Transport.Channels.Sockets.TcpSocketChannel.DoFinishConnect(DotNetty.Transport.Channels.Sockets.SocketChannelAsyncOperation operation) the RemoteEndPoint property of the operation was set to {[::1]:5222} so it seems like the port was not propagated properly.
Thanks in advance for looking into this!
Cheers,
apaulus