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

  • 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...
  • 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...
  • 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...
  • Lync QOS: DSCP Tagging and Testing for Various Vendor Endpoints
      Setting up DSCP on the Lync Server and Lync client is done via group policy Elan Shudnow has an excellent article on this so I won’t red...
  • What Is UC Federation?
    I find myself in discussions that come down to what are we talking about when we refer to “UC Federation” is so I thought I would write dow...
  • Lync Federation Directory Project Reaches 10,000 Organizations Milestone: Will UC Federation Ultimately Replace PSTN Cloud?
      The Lync Federation Directory Project was started September 2011 to make people aware of just how many companies are available to collabo...
  • Polycom CX500 Wall Mount Kit 2200-44331-001
    The above is a picture of the CX500 Wallmount. Some quick clarification around Polycom CX500 Wallmout Kit 2200-44331-001: Part number 2...
  • New Communication Endpoint Form Factor Makes a Windows 8 Pro Powered Mobile Your PC, IP DeskPhone & Mobile Phone: i-Mate Intelegent
      via Seattle Times According to Brier Dudley of the Seattle Time, I-Mate is set to introduce a Windows 8 Pro power mobile device and MWC....
  • #Skype for Windows Phone 8: Glimpse What #Lync Mobile/UC App Integration Could Look Like on WP8
    A video posted demoing Skype for Windows Phone 8 features reveals the kinds of tight integration to the OS Windows Phone 8 Communication app...
  • www.Lync.Ideascale.com: Lync Community Feedback Statistics: 14% of Ideas Completed by Microsoft
      Lync Ideascale is a community based forum started in 2008 to give everyone a way to give quick, structured, informal (Microsoft does not ...

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.