SBAMakingSmall

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, January 21, 2013

How to Verify Lync Edge Server Ports Are Open

Posted on 7:19 PM by Unknown


Okay, so the firewall guys said they opened your essential Microsoft Lync Edge ports, but did they? We’'ll go over the steps to test if the TCP ports are properly opened using the free TCP Test Tool 3.0 from Simple Com Tools. In our test we will not just check if the TCP ports are opened, but also that our Edge Server receives and can send data with no errors.

We can start by downloading the TCP Test Tool 3.0. You can download the free tool here.  Install the TCP Test Tool 3.0 on the Edge Server and some PC (can be any PC, doesn’t need to be a server) outside your network. We won’t run the tool just yet.

Next thing we will need to do is stop the Lync Edge Windows Services, so we can bind the ports to our test tool instead of Lync. We can stop the Lync Edge services in one of 3 ways: by individually stopping them from the Services MMC, from the Lync Server Control Panel or using the Powershell command Stop-CsWindowsService. Below we can see the services are stopped.

powershell-stop-services

Now that the Lync Edge ports are not being used by the Lync Edge services, we can run the TCP Test Tool 3.0 and bind the port we want to test to it. We do this by running the TCP Test Tool, then on the “Server” (right side) side of the TCP Test Tool program, select the correct IP interface, (the interface that is facing the web) and type in the port you want to test and click “Bind” (the first port we’ll test for our example is 5061 as shown below.)

setup server

NOTE: If there are any “Current connections” before you connect using the TCP Test Tool from a client PC, this means something is trying to contact your Lync Edge, very likely some Lync client if this is a live server. You may very well get the “Callback Error!” show below for every incoming connection that is not your TCP Test Tool client. A little annoying, I know, but just click OK to get rid of the message(s).

error on incoming traffic

Next we can go to a PC outside your network and test if the port is open. Run TCP Test Tool and on the “Client” side (left side) of the TCP Test Tool fill in the IP or Domain (using the domain tests DNS as well) of your Edge Server, Port and click Connect.

setup-client

Now you should see “Connected” on the Client side (PC outside your network) and a Connection entry on the Server side. (Note the connection on the server side as you will need to select this connection when sending a response back to the client.) Now you successfully established a TCP connection from a PC outside your network, through your firewall to the Edge Server. Good start!

Now in the “Edit/Send Data” type some text you want to send to your Server/Edge and click “Send”. Hey, our port is working fine!

from client to server

Now if we want to make sure traffic can go from the Server/Edge to the client we move to the server Server/Edge, select the TCP connection coming from our PC outside the network (that we are keeping in our head from when we started this session, remember?) type some text in the “Edit/Send Data” on the Server side, click “Send” and see if our ports are working bi-directionally.

If this test passes you can be quite confident that your Edge traffic is indeed passing through the firewall (and the firewall guys did their duty!)

Now you can repeat the steps to test all the other TCP ports. Below are the common TCP ports an Edge Server uses:

Single IP Edge Configuration TCP Ports UDP Ports
Access/Web/ IP 80, 443, 5061, 444, 50000-59999 3478, 50000-59999
     
3 IP Edge Configuration    
Access Edge IP 443, 5061  
WebConf Edge IP 443  
A/V Edge IP 443, 50000-59999 3478, 50000-59999

NOTE: If you want to test the UDP ports as well, there is a UDP Test Tool too, get it here: Click Here.

When you are done testing you can Click Disconnect on the Client side.

You will want to fire up your Edge Services by using Start-CsWindowsService and verify by glancing at the Services MMC

edge services mmc

When you are all done, make sure you close the TCP Test Tool on both the server and the client as they can be bound to ports and make production environment fail.

Download TCP Test Tool Here:
http://www.simplecomtools.com/Sierra

More TCP Test Tools and Links:
http://www.hw-group.com/products/hercules/index_en.html

tells who is using what ports:
netstat -a -n -b

Edge Ports:
http://technet.microsoft.com/en-us/library/gg425891.aspx

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Free Microsoft Lync HotKey Contact Dialer App: Launch Conversation With 1 Button Touch
      Assign hot keys to Lync contact so you can Instant Message or Audio Call contacts or phone numbers with 1 hot key whether you are in Lyn...
  • Microsoft Remote Connectivity Analyzer for Lync & #Exchange Gets Big Refresh
    New /Enhanced Exchange and Lync connectivity test sites combined Lync Mobile Autodiscover tests New Office365 DNS and Free/Busy test G...
  • Q&A About Microsoft Lync Safe Transfer: What It Is, When You Need It, How You Do It and Gotchas to “Watchas”
    What is safe transfer? According to: http://technet.microsoft.com/en-us/library/gg425721(v=ocs.14).aspx “…With Safe Transfer enabled, tr...
  • Polycom Soundstation Connect: Polycom Has No Intention of Rolling Over to Other USB Speaker Phone Vendors
    With Plantronics, Jabra and Logitech well suited and churning out portable USB speaker phone devices, Polycom seems to be noting that a USB...
  • snom 821 UC Edition (Lync) Firmware 8.8.1.11 “Apollo” Officially Released and Approved By Microsoft
    snom has been working on their “Apollo” Lync UC Edition firmware and it is has been released out of Beta and approved by Microsoft. New Fea...
  • snom Brings Lync Presence to Desk Phone Definable Indicator Lights
    Note : While the snom 300 and snom 821 are Lync Qualified devices, the features noted in this article may not be included in the Lync Qualif...
  • 5 Tricks Using snom UC Edition: Intercom, Safe Transfer, Show VirtualKeys & More
    I’ve been testing the latest snom UC Edition firmware and I came across some items I thought others might want to hear about. Intercom Cu...
  • First Impression Review of Logitech Webcam C930e: 1st of New Generation of UVC 1.5 H.264 WebCams
    The Logitech Webcam c930e is a business webcam that is certified for Microsoft Lync and Skype and first cam to bring 1080p UVC 1.5 H264 HD ...
  • Lync User QuickTip #19: Understanding Lync to Outlook Calendar Based Presence Integration
    One of the great things about Microsoft Lync is how it lights up hitherto hidden information. One of these items is the Outlook Busy/Free st...
  • Polycom Announces Intentions to Lync enable Various Existing Polycom Deskphone, Videophone and DECT Models
      Note: The noted firmware is NOT Microsoft Qualified or certified. Note: The below is a summary of perusing Polycom PDF documents and is...

Categories

  • acano (1)
  • Android (3)
  • appliance (1)
  • april prank (1)
  • audiocodes (2)
  • Before_Released (1)
  • brainstorming (1)
  • CEBP (1)
  • cisco (3)
  • Commentary (3)
  • Community Question (1)
  • dect (1)
  • developer (1)
  • exchange-um (1)
  • federation (3)
  • fun (5)
  • futu (1)
  • Futurist_Ideas (4)
  • GeneralIT (2)
  • gmail (2)
  • google (3)
  • ios (3)
  • jajah (2)
  • logitech (1)
  • lync (34)
  • Lync_2013 (13)
  • Lync_2013_StepByStep (6)
  • Lync_2013_WhatsNew (2)
  • lync_developer (3)
  • Lync_HowTo (8)
  • Lync_Mobile (1)
  • LyncAdminTip (2)
  • LyncUserTip (16)
  • NET (1)
  • News (9)
  • offic (1)
  • office365 (1)
  • panasonic (2)
  • plantronics (1)
  • polycom (9)
  • Research_Ideas (3)
  • review (12)
  • sangoma (1)
  • SIP (2)
  • skype (5)
  • snom (17)
  • snom 800 (1)
  • snom_HowTo (1)
  • sonicwall (1)
  • UCWA (2)
  • videoconf (1)
  • WebRTC (4)
  • wifi (2)
  • windowsMobile (1)
  • windowsphone (5)
  • XMPP (3)

Blog Archive

  • ▼  2013 (130)
    • ►  September (13)
    • ►  August (17)
    • ►  July (15)
    • ►  June (10)
    • ►  May (11)
    • ►  April (11)
    • ►  March (26)
    • ►  February (19)
    • ▼  January (8)
      • Lync Phone Edition “Bridge” Series Concept Design:...
      • Lync 2010 Server & Client January 2013 Update is R...
      • Ubiqiti Announces “Seamless Roaming” Coming to Uni...
      • How to Verify Lync Edge Server Ports Are Open
      • Logitech UC Keyboard 725-C: Desk Phone Gets Attack...
      • Microsoft Lync Mobile 2013 Voice & Video Over IP “...
      • Step by Step Testing Lync Server 2013 Lync Web App...
      • [NEWS] snom 760 and 720 Now Support Select USB Hea...
  • ►  2012 (153)
    • ►  December (14)
    • ►  November (6)
    • ►  October (5)
    • ►  September (10)
    • ►  August (17)
    • ►  July (17)
    • ►  June (24)
    • ►  May (16)
    • ►  April (19)
    • ►  March (7)
    • ►  February (10)
    • ►  January (8)
  • ►  2011 (17)
    • ►  December (17)
Powered by Blogger.