Solved

TCP port opener for testing?

Posted on 2013-01-23
6
708 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 70

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
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
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 70

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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
An article on effective troubleshooting
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

617 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