Detection for ‘offline’ in CRM4 under IPV6 may cause problems

In our former CRM 4.0 times, we detected offlineusage of our components by checking the requesting IP address. This was the way described in the Sdk. So, our code had at some point something like
if("".equals( { .... }
Well, time moved on and IPV6 came up. So, “” is the localhost in IPV4, but not in IPV6. There the localhost is called “::1″. This causes the offlinedetection to fail. One way would be to include ::1 to the localhostsearch. Another way is to prefer IPV4 over IPV6 while using CRM4 (where the regular support recently ended…). Here is a knowledgebasearticle how to change the IP behaviour of the machine. Presumably by setting HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\ to 0x20.

PS reminds me of: There is no place like ::1

No comments yet.

Leave a Reply