Access over the internet and different port numbers
Posted: Tue Jun 12, 2018 5:36 pm
We have SoftPro Select server installed on virtual machine in our local network.
Now we need to access the SoftPro server from our staging server (over the internet), but due to security concerns we can't use 8080 port.
Locally we use http://softpro:8080 to access it.
Access from the internet is set up to http://softpro.domain.com:8085.
Ports and addresses are properly mapped and everything should work in theory, but it doesn't.
We can connect from local network, but over the internet we keep getting "Security error.".
We're using identical SoftPro credentials in both cases, example:
var credentials = new NetworkCredential("TestUser", "TestPassword", "[SERVER]");
Only thing that's different is server address and port.
To debug this, I set up clean virtual machine and created console app there only to test connection over the internet to our server.
This is the only hint I got so far, output from Visual Studio:
"Failed to authenticate the current user. The message with To 'http://softpro.domain.com:8085/Integrat ... 9345374069' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver's EndpointAddresses agree."
I assume this is due to differences in port number? But I'm not sure what would be the best way to resolve this, maybe by changing port number of our SoftPro Server installation? If that's even possible?
Any suggestions?
Now we need to access the SoftPro server from our staging server (over the internet), but due to security concerns we can't use 8080 port.
Locally we use http://softpro:8080 to access it.
Access from the internet is set up to http://softpro.domain.com:8085.
Ports and addresses are properly mapped and everything should work in theory, but it doesn't.
We can connect from local network, but over the internet we keep getting "Security error.".
We're using identical SoftPro credentials in both cases, example:
var credentials = new NetworkCredential("TestUser", "TestPassword", "[SERVER]");
Only thing that's different is server address and port.
To debug this, I set up clean virtual machine and created console app there only to test connection over the internet to our server.
This is the only hint I got so far, output from Visual Studio:
"Failed to authenticate the current user. The message with To 'http://softpro.domain.com:8085/Integrat ... 9345374069' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver's EndpointAddresses agree."
I assume this is due to differences in port number? But I'm not sure what would be the best way to resolve this, maybe by changing port number of our SoftPro Server installation? If that's even possible?
Any suggestions?