Solved

TCP port opener for testing?

Posted on 2013-01-23
6
692 Views
Last Modified: 2013-01-23
I've been looking for a tool I can use to help me test out a communications problem.  I found a cool utility that does what I need but it won't run on Server 2008 R2:

http://download.cnet.com/Local-TCP-Port-Opener/3000-2085_4-10738986.html

Can anyone recommend something similar that would work for me?  I need software to sit on one end of a VPN listening on specific ports so I can scan from the other side and verify that communications are up.
0
Comment
Question by:First Last
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 77

Expert Comment

by:Rob Williams
ID: 38810882
There is a web based tool that will allow you to test if a port is open to the server from the Internet.  If it might be of some help, visit the following link from the server and test for the port in question:
http://www.canyouseeme.org
0
 
LVL 1

Author Comment

by:First Last
ID: 38810896
Unfortunately that won't help me, this is a private Cisco point-to-point VPN connecting my main site to a DR center.  I have to test and make sure certain ports are open before enabling a new service.
0
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 38811357
The classic tool to do that is netcat, which can act both as server and client, and even implement a telnet protocol. One Windows port can be found at http://nmap.org/ncat/ (http://nmap.org/dist/ncat-portable-5.59BETA1.zip).
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 1

Author Comment

by:First Last
ID: 38811397
Hi Qlemo, that looks like it might do the job!  May I ask for some guidance for the syntax?  Basically I want it to listen on certain ports on the exchange server at the DR site then check from the other side if I can reach it.  The documentation indicates to start it with a switch (/l) to listen but I get an error saying the hostname can't be resolved when I try that.  I'd really appreciate an example line of syntax if you could spare the time.  :)
0
 
LVL 1

Author Comment

by:First Last
ID: 38811508
I should have kept reading, it became clear soon enough.  This is exactly what I needed, thank you Qlemo!
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 38811509
  ncat --listen --keep-open --verbose 127.0.0.1 1000
listens to port 1000 on the local machine, and will give some additional info about connections when established.
  echo test | ncat RemoteIp 1000 --send-only --wait 5s
should send text, and then end the connection. If the port is not reachable, it should wait for 5 seconds.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Resolve DNS query failed errors for Exchange
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question