none
How to acess Lync Web App via IP address (not domain name) of Lync Server RRS feed

  • Question

  • I have an environment with Lync Server. I can access Lync Web App from other domain machines like https://lync01.mydomain.local/Reach/WebPages/ReachClient.aspx.

    But I need to access the same server via IP address. When I'm trying to access http://1.2.3.4/Reach/WebPages/ReachClient.aspx (where 1.2.3.4 is IP of lync01.mydomain.local server) I get "Security Error".

    I've deployed clientaccesspolicy.xml file into IIS WebSite root (see below). But it's not enough, LWA won't work.

    If you wonder why do I need accessing via IP: I have virtual environment with DC and Lync Server and I want to access this environment from external network (real via NAT).

     

    clientaccesspolicy.xml:

    <?xml version="1.0" encoding="utf-8"?>
    <access-policy>
        <cross-domain-access>
            <policy>
                <allow-from http-request-headers="*">
                    <domain uri="*"/>
                </allow-from>
                <grant-to>
                    <resource path="/" include-subpaths="true"/>
                </grant-to>
            </policy>
        </cross-domain-access>
    </access-policy>


    Sergei Dorogin, Lead Developer, CROC Inc. (www.croc.ru)
    Thursday, March 24, 2011 10:46 AM

All replies

  • The security error is most likely coming from the browser due to the fact IP addresses are not included in certificates, so when the traffic is redirected to HTTPS the browser will report the name-mismatch.
    Jeff Schertz, Microsoft Solutions Architect - Polycom | MVP | MCITP: Enterprise Messaging | MCTS: OCS
    Thursday, March 24, 2011 1:25 PM
    Moderator
  • Ok, is it possible to make it (LWA) work via IP address?
    Sergei Dorogin, Lead Developer, CROC Inc. (www.croc.ru)
    Thursday, March 24, 2011 3:17 PM
  • Maybe. Certainly not a recommended/supported way. You could try just using a host file on your client machine pointing your external IP to the actual DNS name instead.
    Thursday, March 24, 2011 5:20 PM