WCF- net.tcp : What address ?

  • Thread starter Thread starter prakashvarma
  • Start date Start date
P

prakashvarma

Hi,

I am working with nettcp address for first time.

I created wcf service and self hosted it , my doubt is like what should be
net.tcp address for accessing service from the client.

In brief,what address should be given as net tcp address property ?

Regards,
Jay
 
prakashvarma said:
Hi,

I am working with nettcp address for first time.

I created wcf service and self hosted it , my doubt is like what should be
net.tcp address for accessing service from the client.

In brief,what address should be given as net tcp address property ?


If this solution is for LAN/Intranet clients behind the network firewall,
then it should be the LAN IP of the machine hosting the service.

If this solution is for WAN/Internet clients in front of the network
firewall, then it should be the WAN IP assigned to the network by the ISP,
and the firewall redirects the traffic to the LAN/IP hosting the service.
 
Back
Top