Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Any ideas -Port opened in FW but won't work, telnet

05 Jan 2011   #1
PopeyeTom

 
 
Any ideas -Port opened in FW but won't work, telnet

Hi all! Glad to join your community, I found the SevenForums in a Google search on this problem...Looks like a real active group!

I have searched Google and also the archives here, but I'm at a loss.

Telnet is turned on. I'm trying to open a port to use with UltraVNC Single Click. The default port is 5500, TCP. I have FlexLM servers listening on multiple ports as well as an SQL server with a database vault for my design data. I use telnet to check for access on a port, and telnet is turned on.

I took an existing Inbound port Rule (that is open with the installation of regular UltraVNC, 5800) and copied/pasted it in the Windows Firewall Advanced Settings, Inbound Rules. I edited the new rule giving it a new name and changing the port to 5500.

When I test from one of my other workstations I get "Could not open connection to the host, on port 5500: Connect failed"

But, when I connect >telnet 192.168.1.33 5800 (the port # that I copied the rule from) it connects immediately.

I have tried changing my new rule to allow Public, Private, both, Edge Translation...

What am I missing? I'm confused that the existing rule works, but my copied rule based on it doesn't allow telnet connection from one workstation to this one.

Thank you in advanced for any thoughts and suggestions!

Cheers,
Tom


My System SpecsSystem Spec
.
05 Jan 2011   #2
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

Hi! Tom, welcome to 7F

I'm rusty with telnet , but one item comes to mind; Have you properly registered "one of my other workstations" with a userid, and password.

And the argument you copied over may not fit the new machine you need to join to.
My System SpecsSystem Spec
05 Jan 2011   #3
PopeyeTom

 
 
>netstat -anp tcp doesn't show port #

When I run >netstat -anp tcp I see the following:
Proto Local Address Foreign Address State
TCP 0.0.0.0:5800 0.0.0.0:0 LISTENING
TCP 0.0.0.0:5900 0.0.0.0:0 LISTENING

There are other ports listening at local address 0.0.0:###,

There are ports listening at local address 127.0.0.1:### as well as some at that IP "ESTABLISHED"

There are more ports at local address 192.168.1.33 (my reserved IP). Some of these are ESTABLISHED, some are CLOSE_WAIT, some are TIME_WAIT and one is LISTENING

I would have thought, in my NB networking infinite wisdom , that creating the inbound rule for the port would allow it to show in the netstat report.

Do I need to actually do something more to create a port in the system. Kind of turn it on, in addition to making a firewall rule for it?
My System SpecsSystem Spec
.

05 Jan 2011   #4
PopeyeTom

 
 

Hi Anak, the argument was copied within the one machine, not really a new one...just a new inbound rule on the existing machine.

I'm not sure that it is a telnet issue, I just use it to test if a port is open. I think the port just doesn't really 'exist' on my box. There is a rule for it, but port 5500 doesn't show at all, even when I run >netstat -ab. I see all sorts of TCP and UDP port numbers, but 5500 isn't anywhere that I can find.
My System SpecsSystem Spec
05 Jan 2011   #5
PopeyeTom

 
 

Oh, and restarting the system makes no diff in the ports that show running >netstat
My System SpecsSystem Spec
05 Jan 2011   #6
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

Quote   Quote: Originally Posted by PopeyeTom View Post
Hi Anak, the argument was copied within the one machine, not really a new one...just a new inbound rule on the existing machine.
Apologies, I must of mis-read that.

Quote   Quote: Originally Posted by PopeyeTom View Post
I'm not sure that it is a telnet issue, I just use it to test if a port is open. I think the port just doesn't really 'exist' on my box. There is a rule for it, but port 5500 doesn't show at all, even when I run >netstat -ab. I see all sorts of TCP and UDP port numbers, but 5500 isn't anywhere that I can find.
When I use C:\Windows\system32>netstat 5500 I get a range of 49509 to 65444 this is with an elevated prompt.

I can not seem to locate it either, but that doesn't mean it isn't there.

Are both of your OS's the same or a mix like win7, and XP? If a mix all machines especially 7 works best, and needs the same group name, i.e. "Workgroup"
My System SpecsSystem Spec
05 Jan 2011   #7
profdlp

Main - Windows 7 Pro SP1 64-Bit; 2nd - Windows Server 2008 R2
 
 

If you are using a router you may have to go into its settings screen and enable Telnet there, as well as the other stuff.
My System SpecsSystem Spec
05 Jan 2011   #8
PopeyeTom

 
 

Quote   Quote: Originally Posted by profdlp View Post
If you are using a router you may have to go into its settings screen and enable Telnet there, as well as the other stuff.
Right, I've set up the port forwarding so that calls from the 'outside world' can be forwarded to my machine...but the problem is all within the Windows7 machine that should be listening.

I don't think this is a router problem. The Windows 7 machine isn't even listening on the port #5500. Regardless of what TCP port number I choose, if I create an inbound Firewall rule, it do not see the machine listening on the enabled port. It is like the ports are not enabled, regardless of the fact there is an Inbound Rule in firewall.

Anak, I have tried the telnet from both an XP Pro and another Win7 x64 machine to the Win7 x64 that I want the listener on.

I think it has its hands over its ears and is chanting....NAH NAH NAH - I CAN'T HEAR YOU! over and over again

The netstat report in a dos shell, set for all, numeric, protocol (>netstat -anp tcp) doesn't even list the port that I created (TCP #5500) the Windows' Firewall Inbound Rule for. I have now create the rule by copying an existing port rule (TCP #5800 & 5800 shows in the netstat results) as well as creating an all new Inbound Rule using the New Rule wizard for port 5500.

I created an Inbound rule for the listener program using the wizard & set it for port 5500 and that didn't make any difference. Creating a new port rule for a randomly selected number, TCP 1500 doesn't show either.

Maybe it is a complete misunderstanding of what should show in the list of "listening" ports? I'm not sure, but it wouldn't be the first time I got it completely wrong!

Regardless, I'm heading out. It's 6:30pm here and I'm getting mighty darned hungry.

Thanks again for all your help and suggestions. I'll check tomorrow and keep slugging at this!
My System SpecsSystem Spec
05 Jan 2011   #9
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

Shouldn't all your telnet 192.xxx.x.xx addresses have either the 5500 or 5800 suffix?

Edit:
One or the other, not mixed.
My System SpecsSystem Spec
07 Jan 2011   #10
PopeyeTom

 
 
TCP port problem resolved!

Quote   Quote: Originally Posted by Anak View Post
Shouldn't all your telnet 192.xxx.x.xx addresses have either the 5500 or 5800 suffix?

Edit:
One or the other, not mixed.
Not really. I think the default port for Telnet is 23. I just use telnet to test if a port is open and listening, kind of like beeping out a circuit or network cable. I use a tone generator to check connectivity, the real traffic maybe 110V AC or ethernet traffic.

I have resolved the problem, it was a lack of understanding on my part. The program that is listening on ports 5800 and 5900 is set up to run as a service and that is why these ports always show in >netstat results.

Simply creating Inbound rules for the TCP Port and the executable does not then cause the port to show in results from running >netstat. By starting the executable with the option -listen got the darned port to then show in the >netstat results. I was also then able to create a telnet session to the computer, from another, on that port, thereby validating that it was listening on that port.

My port forwarding rules in both routers did work (after I fixed a fat-finger typo) and I was able to establish a remote session to another computer sitting behind a proxy server and firewalls. Way cool, a lot of time and trouble to perform a small service and make a small amount of $. Wouldn't want to see what it cost me in real time, but, next time they want help NOW and their own internal processes are so cumbersome that they can't take the time to approve VPN access for me - I have the tool to do the job.

The tool that caused the problems is UltraVNC SC. WAY cool tool! I've used UltraVNC (uvnc.com) for years, but always when already tunneled into a network on a VPN. Single Click configures a one time server, at their end, that serves out the desktop to you, the viewer. A lot like what all the things like go to meeting, dim dim, webex and others - but it actually existed before these pay services.

Thank you Anak & profdlp for your help and listening to me while I got my head straight! I'm not a network guy and on top of that I'm new to 7, and it often frustrates me as much as network stuff!

Now, how do I create a service in 7 that starts my listener automatically...hmmm!

Cheers,
Tom
My System SpecsSystem Spec
Reply

 Any ideas -Port opened in FW but won't work, telnet




Thread Tools




Similar help and support threads
Thread Forum
Windows 7 Ultimate x64 Port Forwarding Issues. (Out of ideas)
If this isn't the specific section for it i'll take my question somewhere else, but I figured this would be the closest. I've spent hours searching high and low for my issue, here and there i'll find someone post the problem but no answer is ever posted. I can't open any ports, everything is...
Network & Sharing
Telnet Port
Hi I am using Win 7 Prox64. I enabled telnet client and server. I am able to connect on the default port 23. In windows firewall I added port 4001 but I am unable to telnet to this port. I am unable to connect even if I disable the firewall. If I use the cmd - tlntadmn config port=4001 I...
Network & Sharing
Auto Connect to Wifi - Won't work! Any Ideas Please?
I bought my mum her first PC with Win 7 and a broadband connection which we have set up as WIFI. The broadband works fine, when we manually connect it. But the problem is when I have tried to set this to 'connect automatically on start up' (bottom right hand corner icon / into wifi and properties /...
Network & Sharing
any ideas to use with 4 port cable router?
Ok, I got a cable/dsl router with 4-port switch (etherfast by linksys) given to me. Me being me, I have a hunger for knowledge. `Well, my question is, is there anyway to configure it to hide or mask my ip address and anything related to it, or make my system more secure, or, idk... I just don't...
Network & Sharing
Telnet port open, want it closed.
Hi all Question. I am trying to make sure any outside access to my network is eliminated. I did a port scan of my network behind my router and it shows that port 80 is open, of course I need that for internet. But it is also showing port 23 Telnet is open. I used Advanced Port Scanner...
Network & Sharing
port 9 will not be opened?
i am tyring to wake on lan via my windows mobile phone so i can remote, i have port forwarded my 3389 port on my router correctly and allowed access via public in the firewall and it works however when i port forward port 9 for WOL and check via canyouseeme.org the port remains blocked, i have...
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:40.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App