My business has a .NET web service (not WCF) hosted in IIS on a server which has four network interfaces. The service makes calls to an external web service, hosted by a third party.
In order to configure firewalls correctly internally and at the third party, we need to know which of the available IP addresses on the server the web service is making requests on.
Is there a way in .NET to extract this information? Would I be better asking the same question on ServerFault for a non-programming approach?