 |
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has 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 |
01-05-2011
|
#1 | | |
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 Specs | | System Manufacturer/Model Number Popeye's Unclocked Unit OS Windows 7 x64 CPU i7 Motherboard Asus P6X58D-E Memory 3 x 2G Graphics Card Quadro FX1800 Monitor(s) Displays 2x HannsG HZ281 PSU Corsair something Case LanCool Cooling XT-1264 (air) Hard Drives Mirrored C:
1G D: |
01-05-2011
|
#2 | | 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 Specs | | System Manufacturer/Model Number Gateway DX4831e OS Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1 CPU Intel i3 530 2.93GHz, 2933MHz 2 Cores 4 Logical Processors Motherboard Gateway H57M01 133 megahertz Memory 6GB of 1,333MHz DDR3 SDRAM Graphics Card 32MB Intel Graphics Media Accelerator HD IGChip Sound Card Realtek High Definition Audio Monitor(s) Displays Gateway HX2000 20inch TFT active matrix TN Screen Resolution 1600 x 900 x 59 hertz Keyboard MS 'Natural' Standard PS/2 Enhanced 101-102 Key Mouse Gateway USB wired optical PSU Knowing Gateway it is probably just a 300watter. Case Mid-Tower Desktop Hard Drives WDC WD10EADS-00M2B0 [HDD] (1000.20 GB) -- drive 0,
HL-DT-ST DVDRAM GH41N [CD-ROM dr]
HP Photosmart Plus B210a e_series AIO Printer
Four card readers, and Four USB 2.0 Internet Speed Verizon FIOS 24.57Mbps Down - 5.68Mbps up Other Info BIOS: American Megatrends Inc. P01-A0 11/17/2009
Browsers: IE8.0.7601.17514, FireFox 11.0, System Specs by Belarc.
Join Date March 27th 2010 at 10:44:15 AM. |
01-05-2011
|
#3 | | |
>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 Specs | | System Manufacturer/Model Number Popeye's Unclocked Unit OS Windows 7 x64 CPU i7 Motherboard Asus P6X58D-E Memory 3 x 2G Graphics Card Quadro FX1800 Monitor(s) Displays 2x HannsG HZ281 PSU Corsair something Case LanCool Cooling XT-1264 (air) Hard Drives Mirrored C:
1G D: |
01-05-2011
|
#4 | | |
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 Specs | | System Manufacturer/Model Number Popeye's Unclocked Unit OS Windows 7 x64 CPU i7 Motherboard Asus P6X58D-E Memory 3 x 2G Graphics Card Quadro FX1800 Monitor(s) Displays 2x HannsG HZ281 PSU Corsair something Case LanCool Cooling XT-1264 (air) Hard Drives Mirrored C:
1G D: |
01-05-2011
|
#5 | | |
Oh, and restarting the system makes no diff in the ports that show running >netstat | My System Specs | | System Manufacturer/Model Number Popeye's Unclocked Unit OS Windows 7 x64 CPU i7 Motherboard Asus P6X58D-E Memory 3 x 2G Graphics Card Quadro FX1800 Monitor(s) Displays 2x HannsG HZ281 PSU Corsair something Case LanCool Cooling XT-1264 (air) Hard Drives Mirrored C:
1G D: |
01-05-2011
|
#6 | | Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1 |

Quote: Originally Posted by 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. Apologies, I must of mis-read that. 
Quote: Originally Posted by PopeyeTom 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 Windows 7, and XP? If a mix all machines especially 7 works best, and needs the same group name, i.e. "Workgroup" | My System Specs | | System Manufacturer/Model Number Gateway DX4831e OS Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1 CPU Intel i3 530 2.93GHz, 2933MHz 2 Cores 4 Logical Processors Motherboard Gateway H57M01 133 megahertz Memory 6GB of 1,333MHz DDR3 SDRAM Graphics Card 32MB Intel Graphics Media Accelerator HD IGChip Sound Card Realtek High Definition Audio Monitor(s) Displays Gateway HX2000 20inch TFT active matrix TN Screen Resolution 1600 x 900 x 59 hertz Keyboard MS 'Natural' Standard PS/2 Enhanced 101-102 Key Mouse Gateway USB wired optical PSU Knowing Gateway it is probably just a 300watter. Case Mid-Tower Desktop Hard Drives WDC WD10EADS-00M2B0 [HDD] (1000.20 GB) -- drive 0,
HL-DT-ST DVDRAM GH41N [CD-ROM dr]
HP Photosmart Plus B210a e_series AIO Printer
Four card readers, and Four USB 2.0 Internet Speed Verizon FIOS 24.57Mbps Down - 5.68Mbps up Other Info BIOS: American Megatrends Inc. P01-A0 11/17/2009
Browsers: IE8.0.7601.17514, FireFox 11.0, System Specs by Belarc.
Join Date March 27th 2010 at 10:44:15 AM. |
01-05-2011
|
#7 | | 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 Specs | | System Manufacturer/Model Number Self OS Main - Windows 7 Pro SP1 64-Bit; 2nd - Windows Server 2008 R2 CPU Main - Core i7 2600K; 2nd - Core i7 920 Motherboard Main - Asus P8Z68-V Pro/Gen3; 2nd - Gigabyte GA-EX58-UDR3 Memory Main - 16GB Corsair Vengeance; 2nd - 12GB Corsair Vengeance Graphics Card Main - XFX Radeon 6870 1GB; 2nd - XFX Radeon 4870 1GB Sound Card Both: Onboard Realtek Azalia Monitor(s) Displays Main - Hann 25" + I-INC 25" + Acer 23"; 2nd - Upgrading Soon Screen Resolution Main - 1920x1080 (All Three Monitors); 2nd - Upgrading Soon Keyboard Main - Razer Reclusa; 2nd - Old MS Keyboard Mouse Main - Logitech MX Revolution; 2nd - Old MS Mouse PSU Main - OCZ 600W Modular; 2nd - OCZ 600W Case Main - Thermaltake Element G; 2nd - NZXT something or other Cooling Main - Corsair H80; 2nd - Prolimatech Megahalems Hard Drives Main - (1) Crucial M4 128GB (Boot)
Main - (1) Seagate 2TB 64MB Cache (Data)
Main - (1) Seagate 2TB 64MB Cache (Data Backup)
2nd - (1) Intel X25-M SSD 80GB (Boot)
2nd - (3) Seagate 1TB 32MB Cache (Data Backup)
2nd - (1) Seagate 320GB (Because) Internet Speed 20Mbps Time-Warner Cable |
01-05-2011
|
#8 | | |

Quote: Originally Posted by profdlp 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 Windows 7 x64 machine to the Windows 7 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 Specs | | System Manufacturer/Model Number Popeye's Unclocked Unit OS Windows 7 x64 CPU i7 Motherboard Asus P6X58D-E Memory 3 x 2G Graphics Card Quadro FX1800 Monitor(s) Displays 2x HannsG HZ281 PSU Corsair something Case LanCool Cooling XT-1264 (air) Hard Drives Mirrored C:
1G D: |
01-05-2011
|
#9 | | 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 Specs | | System Manufacturer/Model Number Gateway DX4831e OS Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1 CPU Intel i3 530 2.93GHz, 2933MHz 2 Cores 4 Logical Processors Motherboard Gateway H57M01 133 megahertz Memory 6GB of 1,333MHz DDR3 SDRAM Graphics Card 32MB Intel Graphics Media Accelerator HD IGChip Sound Card Realtek High Definition Audio Monitor(s) Displays Gateway HX2000 20inch TFT active matrix TN Screen Resolution 1600 x 900 x 59 hertz Keyboard MS 'Natural' Standard PS/2 Enhanced 101-102 Key Mouse Gateway USB wired optical PSU Knowing Gateway it is probably just a 300watter. Case Mid-Tower Desktop Hard Drives WDC WD10EADS-00M2B0 [HDD] (1000.20 GB) -- drive 0,
HL-DT-ST DVDRAM GH41N [CD-ROM dr]
HP Photosmart Plus B210a e_series AIO Printer
Four card readers, and Four USB 2.0 Internet Speed Verizon FIOS 24.57Mbps Down - 5.68Mbps up Other Info BIOS: American Megatrends Inc. P01-A0 11/17/2009
Browsers: IE8.0.7601.17514, FireFox 11.0, System Specs by Belarc.
Join Date March 27th 2010 at 10:44:15 AM. |
01-07-2011
|
#10 | | |
TCP port problem resolved! 
Quote: Originally Posted by Anak 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 Specs | | System Manufacturer/Model Number Popeye's Unclocked Unit OS Windows 7 x64 CPU i7 Motherboard Asus P6X58D-E Memory 3 x 2G Graphics Card Quadro FX1800 Monitor(s) Displays 2x HannsG HZ281 PSU Corsair something Case LanCool Cooling XT-1264 (air) Hard Drives Mirrored C:
1G D: Any ideas -Port opened in FW but won't work, telnet problems? All times are GMT -5. The time now is 06:13 PM. |  |