Hi,
I’m currently doing some prototyping for a zitified java server application. On the server we are offering two separate ports. Let us use 80 and 443 on our sample.
I’ve created a sample setup, with the java netcat server sample. My service configurations are:
host:
{
"address":"devel.test.local",
"allowedPortRanges":[
{
"high":80,
"low":80
},
{
"high":443,
"low":443
}],
"allowedSourceAddresses":[
],
"forwardPort":true,
"protocol":"tcp"
}
intercept:
{
"addresses":[
"devel.test.local"],
"dialOptions":{
"identity":""
},
"portRanges":[
{
"high":80,
"low":80
},
{
"high":443,
"low":443
}],
"protocols":[
"tcp"],
"sourceIp":""
}
Connecting from my test-client with nc devel.test.local 80/443
from my client using Ziti Desktop Edge opens a connection and I cen transfer text messages. But how can I determine wich port was addressed on the server side to route it to the appropiate endpoint in my application?
Is my question related to the terminators from this sample?
Maybe I missed some doc - maybe I just need the right pointer.
Thanks & Bye,
Chris