IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Cant Connect To Ws From Net
Guest_Moby58_*
post Feb 23 2006, 01:03 AM
Post #1





Guests






Hi Guys,

Newbie to WS. Just installed today.

I cant connect to WS from outside my home network.

WS is default install (latest version), using port 8429.

Have set Windows XP SP2 firewall on computer running WS to allow TCP thru on port 8429.

I have set my Belkin modem/router with port forward or 8429 to local machine 192.168.0.120, port 8429.

I run 2 other computers, with web servers, 1 on port 80, and 1 on port 81.

I use DynDND, with my name of moby58.homedns.org.

Now, http://moby58.homedns.org/ and http://moby58.homedns.org:81 will take to relevant servers, but http://moby58.homedns.org:8429 will NOT bring up WS. (just times out waiting for page, with cannot find server)

Locally, all other computers can access WS via either http://office:8429 or http://192.168.0.120:8429

I have added 192.168.0.xxx IPs to trusted list in users.list, as well as a couple of username/passwords

Help!!!!!!
Go to the top of the page
 
+Quote Post
nate
post Feb 23 2006, 06:39 AM
Post #2


DigitalWatch Developer


Group: Developers
Posts: 2,263
Joined: 30-September 03
From: Melbourne
Member No.: 169
Card: DNTV Quad


It's possible that the other connection you're trying from is blocking outgoing port 8429. As a test try setting the router to port forward port 80 to 192.168.0.120:8429.


--------------------
Go to the top of the page
 
+Quote Post
null_pointer
post Feb 23 2006, 08:09 AM
Post #3


Web Scheduler Developer


Group: Developers
Posts: 4,495
Joined: 9-July 03
From: Melb
Member No.: 9
Card: None


nates suggestion is a good one, the other option to test this is turn off your other server on port 80 and set ws to use port 80, that way you can confirm it is not your local network blocking the port as you have already tested 80 with your other web server and it works.
Go to the top of the page
 
+Quote Post
Guest_Moby58_*
post Feb 23 2006, 09:11 AM
Post #4





Guests






Not that. I am trying from my own computer.

Also, had a friend try from his home computer.

But, did try your suggestion. Disabled the other computer, set WS port to 80, ammended the port forwarding in the router, and still no go.

Now, I will add some more detail, incase I am doing something not quite right.

To change WS port, I edit the wrapper.conf file, and change wrapper.app.parameter.5= to port number. Seems to be right, as when clicking on WS tray, it appends port number on end.

Have run ipconfig to confirm that computer is on 192.168.0.120

In windows firewall, have tried turning off, no difference.

As WS is not a program, I have had added an exception of port 8080 associated with 192.168.0.120. Have also added that on advance for Internet and LAN traffic.

Now, as an asside, that may be related, even tho I have added 192.168.0.120 to the trusted site list (in WS), still asks for password and user when accessing via WSTray.


QUOTE (null_pointer @ Feb 23 2006, 06:09 AM) *
nates suggestion is a good one, the other option to test this is turn off your other server on port 80 and set ws to use port 80, that way you can confirm it is not your local network blocking the port as you have already tested 80 with your other web server and it works.
Go to the top of the page
 
+Quote Post
Guest_Moby58_*
post Feb 26 2006, 02:32 AM
Post #5





Guests






OK,

Have reinstalled WS, and set the port to 80.

3 computers on network, each with fixed local IP, and each with a web server on port 80.

Router is set up to forward:_
http://moby58.homedns.org to security cams computer, port 80
http://moby58.homedns.org:8080 to home automotion computer, port 80
http://moby58.homedns.org:81 to WS computer, port 80

First two work, and page comes up within 5 seconds

Third (the one I have probs with), sits for 30 seconds before failing with 'Cant find server' message.

if I try to go to http://moby58.homedns.org:xxxx (where xxxx is any number except one of the above 2), it fails, but within five seconds, same message.

It is like the router is routing to the right computer, can see a web server there (WS), but it wont respond to computers outside the home LAN.

still desperately trying to solve this.
Go to the top of the page
 
+Quote Post
tweek
post Feb 27 2006, 07:14 AM
Post #6


Participant


Group: Members
Posts: 45
Joined: 3-October 05
Member No.: 3,674
Card: None


Are you trying to access your dyndns address from within your own network? I've found that from within the network I can access webscheduler using a UNC or 192.168 address, but not through dyndns. It can only be accessed from outside the network.

Also, if you are accessing it from outside your network, is there a chance that your webscheduler pc has gone into standby or hibernation by the time you get to an external computer to test it?
Go to the top of the page
 
+Quote Post
Guest_Moby58_*
post Feb 27 2006, 12:23 PM
Post #7





Guests






QUOTE (tweek @ Feb 27 2006, 05:14 AM) *
Are you trying to access your dyndns address from within your own network? I've found that from within the network I can access webscheduler using a UNC or 192.168 address, but not through dyndns. It can only be accessed from outside the network.

Also, if you are accessing it from outside your network, is there a chance that your webscheduler pc has gone into standby or hibernation by the time you get to an external computer to test it?


Hi,

My router allows me to access stuff on the network, when connected from the network, even tho I go outside to dyndns. I know what you are getting at, tho, as my old Netgear wouldnt allow me to.

As mentioned, I can connect to the other 2 web servers without problems.

It is very much like WS is rejecting the connection (or the WS server).

So, what may help, is there any log created, or a program I can run on the WS server computer that will tell me what connection requests are being made (and rejected).
Go to the top of the page
 
+Quote Post
null_pointer
post Feb 27 2006, 12:35 PM
Post #8


Web Scheduler Developer


Group: Developers
Posts: 4,495
Joined: 9-July 03
From: Melb
Member No.: 9
Card: None


WS does not reject connection.
Go to the top of the page
 
+Quote Post
a_a
post Feb 28 2006, 08:45 AM
Post #9


Forum Regular


Group: Members
Posts: 178
Joined: 15-December 04
From: Sydney
Member No.: 2,180
Card: VisionPlus DVB-t


QUOTE
or a program I can run on the WS server computer that will tell me what connection requests are being made

I use Kerio Personal Firewall. It allows me to easily see all applications that are listening and the ports they are listening on. It will also show all incoming and outgoing connections and alert you of new ones if you set it up that way. For what you want it may be overkill but I'd guess that any decent software firewall (which we should all have smile.gif ) will provide similar functions.

HTH.

Adrian
Go to the top of the page
 
+Quote Post
paul_ahb
post Feb 28 2006, 10:24 AM
Post #10


Forum Regular


Group: Members
Posts: 1,162
Joined: 9-June 04
From: Hobart
Member No.: 1,030
Card: None


After making the port changes, did you set your firewall to allow the new port (81?)

Paul


--------------------
Go to the top of the page
 
+Quote Post
goalump
post Mar 1 2006, 09:42 AM
Post #11


Forum Regular


Group: Members
Posts: 123
Joined: 24-August 04
From: Hobart, Tasmania
Member No.: 1,521
Card: VisionPlus DVB-t


Moby, what happens if you disable the Windows Firewall completely? You might find that it allows connections to WS then. The WinXP firewall is pretty stupid. I found that I had to add the Java engine (JRE) executable file to the exceptions list, so that the firewall would allow external connections to the WS server. I assume because WS is a Java application.

So, if you disable the Windows Firewall, and then WS works, you can be sure that it is a problem with the 'Exceptions' list, and then just work backwards from there.

As an aside, it is debatable whether the Windows Firewall is worthwhile on a computer running behind a router. The Windows Firewall doesn't protect against unauthorised outgoing connections (trojans, spyware etc), and the router's hardware firewall should be protecting against incoming connections. So, it might be superfluous to have it running at all. You could always grab the free ZoneAlarm, configure it appropriately, and disable the Windows Firewall, and still be better protected...

Just my 0.02
Go to the top of the page
 
+Quote Post
Guest_Moby58_*
post Mar 1 2006, 12:45 PM
Post #12





Guests






QUOTE (goalump @ Mar 1 2006, 07:42 AM) *
Moby, what happens if you disable the Windows Firewall completely? You might find that it allows connections to WS then. The WinXP firewall is pretty stupid. I found that I had to add the Java engine (JRE) executable file to the exceptions list, so that the firewall would allow external connections to the WS server. I assume because WS is a Java application.

So, if you disable the Windows Firewall, and then WS works, you can be sure that it is a problem with the 'Exceptions' list, and then just work backwards from there.

As an aside, it is debatable whether the Windows Firewall is worthwhile on a computer running behind a router. The Windows Firewall doesn't protect against unauthorised outgoing connections (trojans, spyware etc), and the router's hardware firewall should be protecting against incoming connections. So, it might be superfluous to have it running at all. You could always grab the free ZoneAlarm, configure it appropriately, and disable the Windows Firewall, and still be better protected...

Just my 0.02


Hi,

Makes no difference.

Even added java.exe to trusted programs.

Really got me stumped. 2 other computers on network with Web servers, no probs. This one, no go.
Go to the top of the page
 
+Quote Post
null_pointer
post Mar 1 2006, 01:00 PM
Post #13


Web Scheduler Developer


Group: Developers
Posts: 4,495
Joined: 9-July 03
From: Melb
Member No.: 9
Card: None


if you are running WS as the default service set-up then it will be javaw.exe that runs WS.

You may have answered this already but can you access WS from the other machines in your local network? If you can then it is not the firewall on the machine you are running WS on that is causing the problem.
Go to the top of the page
 
+Quote Post
Guest_Moby58_*
post Mar 5 2006, 03:54 PM
Post #14





Guests






QUOTE (null_pointer @ Mar 1 2006, 11:00 AM) *
if you are running WS as the default service set-up then it will be javaw.exe that runs WS.

You may have answered this already but can you access WS from the other machines in your local network? If you can then it is not the firewall on the machine you are running WS on that is causing the problem.


OK, Have added javaw.exe to the exception list. Still no go.

Yep, I can access WS from all other machines on the network, either by IP address (192.168.0.120) or by computer name (office)

Have added the other computer's IP's to the trusted list under WS, and there is no asking for password.
However, clicking on the WSTray icon on the WS host computer, where it connects to 'localhost', I am asked for username and password, that it accepts.
Go to the top of the page
 
+Quote Post
paul_ahb
post Mar 6 2006, 12:18 PM
Post #15


Forum Regular


Group: Members
Posts: 1,162
Joined: 9-June 04
From: Hobart
Member No.: 1,030
Card: None


QUOTE (Moby58 @ Mar 5 2006, 04:54 PM) *
Have added the other computer's IP's to the trusted list under WS, and there is no asking for password.
However, clicking on the WSTray icon on the WS host computer, where it connects to 'localhost', I am asked for username and password, that it accepts.

You will need to add 127.0.0.1 to the trust list to stop this prompting.

If WS is accessible from our LAN but not the WAN then it must be configuration on your nat(?) router that needs to be modified.

unless... just check your subnet mask and default gateway is configured correclty on the WS server.

Paul


--------------------
Go to the top of the page
 
+Quote Post
null_pointer
post Mar 6 2006, 12:24 PM
Post #16


Web Scheduler Developer


Group: Developers
Posts: 4,495
Joined: 9-July 03
From: Melb
Member No.: 9
Card: None


Also you could use a tool like ethereal to see if the packets are even getting to the machine.

http://www.ethereal.com/
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th May 2013 - 10:12 AM