Re: Socket error

Tech-Archive recommends: Fix windows errors by optimizing your registry



I tried changing the port number to 80 (which is a http port and it is
unblocked)
That did not work.

I did a netstat -a .
I saw that the app was listening on the port.

But when I tried "telnet <servername> 51296", it did not go through.

What else can I do?

"PokerMan" <nospam@xxxxxxxxxxxxxx> wrote in message
news:uNJrNWITHHA.5068@xxxxxxxxxxxxxxxxxxxxxxx
Ignacio, at end of his post he says:

"I have firewall enabled on the server box (where the listener is
running).

I tried setting the firewall options to unblock the port 51296 for all
traffic.

That did not work."

My best advice since you cant turn it off is try changing the port number
and see if you have more luck. Sounds like the firewall is the reason
though. Do check if there is anything else blocking that port.

As a check try this, start your app listening.

then open a command prompt and type Netstat -a

This shows all connections. Ensure your app is listening on the port you
mentioned. If it is then try telnet to that port and see if the server
lets that through. I am sure you'll find it doesnt due to the firewall, if
it does then there is a problem with your client end software on how it
connects.

Definitely sounds like an administrative problem not a code one though.

"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.com> wrote in
message news:eEmCxLITHHA.5108@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

"Jay" <Jay@xxxxxxxxxxxxx> wrote in message
news:%23ANHZMHTHHA.4028@xxxxxxxxxxxxxxxxxxxxxxx
|I cannot turn off the firewall. Its set by the corporate group policy.
| I have admin previlages to modify, but not turn it off completel

Well, then how do you expect that the remote client can connect to your
server if there is a firewall?

Either you remove your firewall or at least allow that port to pass
through.


--
Ignacio Machin
machin AT laceupsolutions com






.



Relevant Pages

  • Re: keeping ports open
    ... If a port is open, it means that 1) a software or service is running on your ... and 2) you're not using a firewall or your firewall isn't ... Use firewall software and hardware and antivirus software that is ... Follow the instructions for hardening Windows and IIS at ...
    (microsoft.public.security)
  • Re: How to Maintain an IIS Server?
    ... > server running on a Windows 2000 server. ... before a firewall and antivirus have been installed]. ... open ports; however, this will not identify which program is using the port. ...
    (microsoft.public.inetserver.iis.security)
  • Re: CEICW fails at firewall config
    ... ISA Server prevents connection to a remote desktop when you connect through ... Remote Web Workplace on a Windows Small Business Server 2003-based computer ... Acceleration Server as a firewall. ... connection uses TCP port 4125. ...
    (microsoft.public.windows.server.sbs)
  • Re: How to Maintain an IIS Server?
    ... >> server running on a Windows 2000 server. ... > before a firewall and antivirus have been installed]. ... > program or executable using that port. ...
    (microsoft.public.inetserver.iis.security)
  • Re: What is the trick to get Windows XP firewall to stay on (after a reboot)?
    ... > While I did not explicitly state that the EPRT and PORT commands reached ... > Windows Firewall did not start a listen according to netstat -a and Port ... So, while a proxy would result in a new listening socket, a firewall does ... client sending a PORT command that it has chosen to send. ...
    (microsoft.public.windowsxp.network_web)