Unable to connect to server - error

All,
I am a noob to VASSAL and am trying to connect for some on-line play. I have the latest version. I am trying to use the ASL modules and they work fine in off-line mode. I am running WIndows 7.
I am getting the following detail in the error log:

java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net. [www.http.HttpClient.openServer(Unknown](http://www.http.HttpClient.openServer(Unknown) Source)
at sun.net. [www.http.HttpClient.openServer(Unknown](http://www.http.HttpClient.openServer(Unknown) Source)
at sun.net. [www.http.HttpClient.(Unknown](http://www.http.HttpClient.(Unknown) Source)
at sun.net. [www.http.HttpClient.New(Unknown](http://www.http.HttpClient.New(Unknown) Source)
at sun.net. [www.http.HttpClient.New(Unknown](http://www.http.HttpClient.New(Unknown) Source)
at sun.net. [www.protocol.http.HttpURLConnection.get … nt(Unknown](http://www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown) Source)
at sun.net. [www.protocol.http.HttpURLConnection.pla … ct(Unknown](http://www.protocol.http.HttpURLConnection.plainConnect(Unknown) Source)
at sun.net. [www.protocol.http.HttpURLConnection.connect(Unknown](http://www.protocol.http.HttpURLConnection.connect(Unknown) Source)
at sun.net. [www.protocol.http.HttpURLConnection.get … am(Unknown](http://www.protocol.http.HttpURLConnection.getInputStream(Unknown) Source)
at VASSAL.chat.HttpRequestWrapper.doGet(HttpRequestWrapper.java:90)
at VASSAL.chat.HttpRequestWrapper.doGet(HttpRequestWrapper.java:47)
at VASSAL.chat.DynamicClient.getServerConfig(DynamicClient.java:65)
at VASSAL.chat.DynamicClient.buildDelegate(DynamicClient.java:55)
at VASSAL.chat.DynamicClient$1.doInBackground(DynamicClient.java:85)
at VASSAL.chat.DynamicClient$1.doInBackground(DynamicClient.java:82)
at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

I suspect it is either a firewall or Windows 7 security issue.
I am not sure how to fix either one if that is the case. I have Zone Alarm (free version).
Any suggestions?
Thanks,
Chip

Thus spake Coaltar:

All,
I am a noob to VASSAL and am trying to connect for some on-line play. I
have the latest version. I am trying to use the ASL modules and they
work fine in off-line mode. I am running WIndows 7.
I am getting the following detail in the error log:

Does this happen if you turn Zone Alarm off?


J.

I will try it but I am hesitant to turn it off with all the “bad packets” out there :slight_smile:
I will have to wait until I am on my home machine to give it a go.
Thanks for the suggestion.
Chip

Welp, I gave VASSAL “Allow” status for all catagories in Zone Alarm and I still am getting the unable to connect error (pasted below in case it helps).
Not sure if its a Windows thing then. I use Mozilla.
Thanks,
Chip

ava.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at VASSAL.chat.HttpRequestWrapper.doGet(HttpRequestWrapper.java:90)
at VASSAL.chat.HttpRequestWrapper.doGet(HttpRequestWrapper.java:47)
at VASSAL.chat.DynamicClient.getServerConfig(DynamicClient.java:65)
at VASSAL.chat.DynamicClient.buildDelegate(DynamicClient.java:55)
at VASSAL.chat.DynamicClient$1.doInBackground(DynamicClient.java:85)
at VASSAL.chat.DynamicClient$1.doInBackground(DynamicClient.java:82)
at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Thus spake Coaltar:

Welp, I gave VASSAL “Allow” status for all catagories in Zone Alarm and
I still am getting the unable to connect error (pasted below in case it
helps).

The problem is that something is preventing your machine from connecting
to either our web or game server. They’re both up, so presumably the
problem is on your end. Is it possible that there’s another firewall
blocking you?


J.

Thanks again.
Its possible that Windows Firewall is on but usually when you install Zone Alarm it disables the Windows native firewall. I will have to take a peek when I get home on that one.
Thanks,
Coal

Thus spake Coaltar:

Thanks again.
Its possible that Windows Firewall is on but usually when you install
Zone Alarm it disables the Windows native firewall. I will have to take
a peek when I get home on that one.

It’s possible that there are other firewalls between you and our server,
for example there could be one on your router.


J.

OK, so I have a Verizon router that I think is blocking it. Is there an IP address for the server?
Thanks

er, for the VASSAL server of course…

Thus spake Coaltar:

OK, so I have a Verizon router that I think is blocking it. Is there an
IP address for the server?
Thanks

Our web server is 68.14.242.202, game server is 68.14.242.201.


J.

OK, I checked the logs on the router and they say:

Time Event Event-Type Details
Aug 23 06:17:07 2012 Inbound Traffic Blocked - Default policy TCP 74.125.224.226:443->173.60.70.102:49788
on ixp0 [repeated 2 times, last time on Aug 23
06:17:07 2012]

Any tips?
Thanks again,
Coal

Oh, replied before I saw your post.
So I thought it would be easy to put in the IP and I would be ok but it isn’t that easy for a noob like me.
So I have the following options in the router URL
Access Control
Port Forwarding
DMZ Host
Port Triggering
Static NAT
Advanced Filtering
Do any of these sound like I would be able to us to allow access?
Thanks

Ok, so I guess it is Port Forwarding.
I need to select the application to forward
The options are
DHCP Client port
FTP (file transfer)
HTTP (Web)
HTTPS (secured web)
IMAP (Email)
L2TP (VPN)
Ping
POP3 (email)
SMTP (email)
SNMP (Simple networm mgmt)
Telnet
TFTP (trivial file transfer)
Traceroute
VoiceWing VoIP Phone service

I assume it is DHCP.
Thanks

Oh and there is also a custom selection.
This will allow me to open a port under UDP or TCP. I assume the protocol is TCP of course.
I tried DHCP and it didn’t add anything to the applied rules list.
Are there ports I should open?
Thanks again for reading my ramblings

so in the Port Forwarding screen I have created a new port forwarding rule and selected “specify IP” I put in the web server IP in that you gave me and created a custom port that uses UDP and TCP protocols on port 65535. I then created another customer port and just incremented up 65535 to 65536. This did not work.
There is also the option of creating a new host under the port forwarding rule section (instead of "specifying an IP. The default IP is 192.168.4.1.
Any thoughts?
Thanks again

opps created another custom port and put in the game server IP and incremented the port

Thus spake Coaltar:

Ok, so I guess it is Port Forwarding.
I need to select the application to forward
The options are
DHCP Client port
FTP (file transfer)
HTTP (Web)
HTTPS (secured web)
IMAP (Email)
L2TP (VPN)
Ping
POP3 (email)
SMTP (email)
SNMP (Simple networm mgmt)
Telnet
TFTP (trivial file transfer)
Traceroute
VoiceWing VoIP Phone service

I assume it is DHCP.
Thanks

Port forwarding (on your router) is for incoming connections, not
outgoing ones. Our servers don’t contact you, so setting up port
forwarding won’t help you.

What you should be looking for is something blocking outgoing
connections.


J.