Solved: access to localhost:8080 fails

2010-03-29 Thread Krishanu Biswas
Hello Harry,

You are right. When i took the issue to our IT, they asked me to run a
script on my comp that solved the problem. This script has probably tweaked
the firewall to allow localhost to run. Feeling good that the problem stands
solved that I can continue with my work now but the magic will remain unknow
to me.

Kind Regards,
Krish

On Mon, Mar 29, 2010 at 7:02 AM, Harry Metske harry.met...@gmail.comwrote:

 I have seen similar issues on our corporate (XP and Vista) laptops,
 somebody
 decided that the locally running firewall should also block access to
 localhost. I think you should first verify if that's the case.
 I'm not a Windows expert, so I don't know how to check if the above is the
 case.
 If you are allowed to give the netstat command, try the suggestion from
 Charles (netstat -ano), if you see status SYN_SENT, it's for sure a
 firewall
 issue.

 regards,
 Harry

 2010/3/28 Krishanu Biswas biswas.krish...@googlemail.com

   Chuck:
 
  To verify the network issue, I installed Tomcat on my personal laptop.
 The
  browser is still unable to show up: http//localhost:8080.
  I'm connected to a router via a wireless network which in turn connects
 me
  to the internet. I have Mcafee antivirus, firewall and spyware installed.
 
  I will now look into the problem from this direction as well. Thank you.
 
  Krish
 
  On Sun, Mar 28, 2010 at 8:28 PM, Caldarale, Charles R 
  chuck.caldar...@unisys.com wrote:
 
From: Krishanu Biswas [mailto:biswas.krish...@googlemail.com]
Subject: access to localhost:8080 fails
   
I've a 6.0.26 (latest) Tomcat installed on my laptop (windows vista
ulltimate). When inside corporate network, it works. In home network,
it doesn't.
  
   Sounds like whatever security agent you're using imposes different
  firewall
   rules depending on whether or not you're attached to the corporate
  network.
(The one we use - SEP - certainly does.)  You'll have to figure out
 how
  to
   change the firewall config - if you're allowed to.
  
- Chuck
  
  
   THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
 PROPRIETARY
   MATERIAL and is thus for use only by the intended recipient. If you
  received
   this in error, please contact the sender and delete the e-mail and its
   attachments from all computers.
  
  
   -
   To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
   For additional commands, e-mail: users-h...@tomcat.apache.org
  
  
 



access to localhost:8080 fails

2010-03-28 Thread Krishanu Biswas
Hello,

I've a 6.0.26 (latest) Tomcat installed on my laptop (windows vista
ulltimate). When inside corporate network, it works. In home network, it
doesn't. Strange enough that it does not work even when the laptop stands
alone (not connected to any network). Accessing
http://localhost:8080results in: ERROR_INTERNET_CANNOT_CONNECT as seen
with HttpWatch. The
request does not reach the server (hence no log). server.xml has not been
changed.

netstat -ab shows the following processes:

  TCP0.0.0.0:8009   hostname:0LISTENING
 [java.exe]
  TCP0.0.0.0:8080   hostname:0LISTENING
 [java.exe]
: Windows Sockets initialization failed: 5
 TCP[::]:8009  WDFN00224028A:0LISTENING
[java.exe]
 TCP[::]:8080  WDFN00224028A:0LISTENING
[java.exe]

Windows host file has the following entries:

127.0.0.1 localhost
::1   localhost

Using java version 1.6.0_18

The problem appears to be very strange to me. Did a lot of searching on the
web before this post. Nothing helped. I'm sure that this is not a new
problem and hoping that one of you have already solved such an issue.

Cheers,
Krish


Re: access to localhost:8080 fails

2010-03-28 Thread Krishanu Biswas
On Sun, Mar 28, 2010 at 8:13 PM, Konstantin Kolinko
knst.koli...@gmail.comwrote:

 2010/3/28 Krishanu Biswas biswas.krish...@googlemail.com:
  Hello,
 
  I've a 6.0.26 (latest) Tomcat installed on my laptop (windows vista
  ulltimate).

 In what folder is this Tomcat instance installed?


Tomcat is installed under C:\Program Files\Apache Software Foundation\Tomcat
6.0


 With what user account it runs?


Administrator


 Do you run it as a service, or starting from a *.bat file, or from
 inside an IDE?


I tried both but the result is same.


 There are two vista-related items on the FAQ page here:
 http://wiki.apache.org/tomcat/FAQ/Windows#Q8

 Thank you for your reply Konstantin. This is my first post to the forum.
Not sure if my content is readable enough. Will learn over time for sure.


 Best regards,
 Konstantin Kolinko

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: access to localhost:8080 fails

2010-03-28 Thread Krishanu Biswas
On Sun, Mar 28, 2010 at 8:20 PM, André Warnier a...@ice-sa.com wrote:

 Krishanu Biswas wrote:

 Hello,

 I've a 6.0.26 (latest) Tomcat installed on my laptop (windows vista
 ulltimate). When inside corporate network, it works.


 Can you explain how exactly it works ? what URL are you using then, from
 where ? what are you seeing then ?


http://localhost:8080  OR http://127.0.0.1:8080 works in one network
(corporate) and the same does not work in a different network (my home
network - wireless network for home from T-phone)



  In home network, it

 doesn't.


 Same questions.


In my home network, I'm connected to via a router to the internet. The point
is that Tomcat is installed locally on my laptop and it should work without
any such connectivity. Unfortunately it doesn't.



 Strange enough that it does not work even when the laptop stands

 alone (not connected to any network). Accessing
 http://localhost:8080results in: ERROR_INTERNET_CANNOT_CONNECT as seen

 with HttpWatch. The
 request does not reach the server (hence no log).


 I presume this URL really is :

 http://localhost:8080/results

 , right ?

That was a formatting mistake. I meant only http://localhost:8080
This request to the local server results in ERROR_INTERNET_CANNOT_CONNECT as
seen
with HttpWatch.



  server.xml has not been

 changed.

 netstat -ab shows the following processes:

  TCP0.0.0.0:8009   hostname:0LISTENING
  [java.exe]
  TCP0.0.0.0:8080   hostname:0LISTENING
  [java.exe]
 : Windows Sockets initialization failed: 5


 What does that mean ? What is is in the Tomcat logs, corresponding to this
 error ?



  TCP[::]:8009  WDFN00224028A:0LISTENING
 [java.exe]
  TCP[::]:8080  WDFN00224028A:0LISTENING
 [java.exe]

 Windows host file has the following entries:

 127.0.0.1 localhost
 ::1   localhost

 Using java version 1.6.0_18

 The problem appears to be very strange to me. Did a lot of searching on
 the
 web before this post. Nothing helped. I'm sure that this is not a new
 problem and hoping that one of you have already solved such an issue.

 Is the Windows firewall or anything similar enabled (AUP or whatever
 it's called) ?
 If you do NOT start the Tomcat Service, and do a netstat -ab, what do you
 see then ?


Thank you for helping me on this. The same setup on the same laptop will
start working tomorrow when I am connected to corporate network. This is a
corporate laptop and windows firewall is installed. But I am not sure where
should I look in to check if this firewall is the blocker. Moreover, I may
not be allowed to turn this firewall off even if it is required. By the way,
i turned it off temporariry (for 5 mins, hope nothing has happened in
between) but the situation did not change.




 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: access to localhost:8080 fails

2010-03-28 Thread Krishanu Biswas
Chuck:

To verify the network issue, I installed Tomcat on my personal laptop. The
browser is still unable to show up: http//localhost:8080.
I'm connected to a router via a wireless network which in turn connects me
to the internet. I have Mcafee antivirus, firewall and spyware installed.

I will now look into the problem from this direction as well. Thank you.

Krish

On Sun, Mar 28, 2010 at 8:28 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Krishanu Biswas [mailto:biswas.krish...@googlemail.com]
  Subject: access to localhost:8080 fails
 
  I've a 6.0.26 (latest) Tomcat installed on my laptop (windows vista
  ulltimate). When inside corporate network, it works. In home network,
  it doesn't.

 Sounds like whatever security agent you're using imposes different firewall
 rules depending on whether or not you're attached to the corporate network.
  (The one we use - SEP - certainly does.)  You'll have to figure out how to
 change the firewall config - if you're allowed to.

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you received
 this in error, please contact the sender and delete the e-mail and its
 attachments from all computers.


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org