Error: 10061 whenever I change the connection port from
default
evets dranem
edranem "at" dranem.org
Wed Mar 9 12:28:00 2005
Casey Diercks wrote:
>Ok, I took some of the suggestions and tried them out. Here is what is
>happening now. I have two computers both set up to receive incoming
>connections on port 5900 for the viewer, and 5800 on the java server
>(default settings on both). First, I forwarded port 5800 directly to
>machine 1, and am able to access from inside and outside the network with
>the java server. No problem, but I need this to work on both Machine 1 and
>Machine 2, so I need a way to get port 5800 forwarded to both machines. So
>I used my router to forward EXTERNAL port 5252 to port 5800 on machine 1,
>and forward EXTERNAL port 5254 to port 5800 on machine 2. (I'm using a
>Linksys router so I used the "UPnP Forwarding" function to do this). That
>way if I type in http://mydomain.com:5252, the router should direct the
>traffic to port 5800 on machine 1 (which it is because I am getting the java
>applet prompt). With that setup, everything works fine from within the LAN
>when using the VNC viewer. But, if I try to access one of the machines from
>inside OR outside the network using the java server, I get the refused
>connection message. The message is gives me is "java.net.connect.Exception:
>connection refused". I tried every server name combination I could think of
>and it still boots me out. I tried www.mydomain.com:0, www.mydomain.com:1,
>www.mydomain.com:5800, www.mydomain.com:5252.... you get the idea. Am I
>missing something??? I'm getting pretty frustrated here. It seems to me
>that this should be fairly easy to accomplish, but VNC keeps booting me out!
>HELP!
>
>
>
You NEED to tell the Linksys router to forward connections directed to
5254 to YOURPC'sIP
UnPnP won't do it because your are not initiating the connection from
within your LAN