• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Tomcat starts but doesn't display webpage under window 7 ultimate

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do anyone met this problem under window 7 ultimate version after install tomcat and service also start but http://localhost:8080 doesn't display tomcat home page.

i used the same method on window xp, it work normal.

i used window 7 ultimate, and tomcat i used 6.0 , and 9.0 both of them can't work on window 7, but under window xp it work normal.

I have no idea why the page can't show tomcat index page. Is there any setting need to change under window 7 ultimate.

 
Bartender
Posts: 1810
28
jQuery Netbeans IDE Eclipse IDE Firefox Browser MySQL Database Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this to the Tomcat forum as it's not related to JSP's.
 
J. Kevin Robbins
Bartender
Posts: 1810
28
jQuery Netbeans IDE Eclipse IDE Firefox Browser MySQL Database Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have multiple versions of Tomcat installed on Win 7 Pro. I don't recall any special settings. What is displayed when you go to localhost:8080? Are you sure you configured it for 8080? Did you already have another server installed at 8080? Does the startup.bat file run okay and indicate that Tomcat is running?

 
chenchih lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i solve it. i changed the port to 9090 it will work.
Do anyone know how to see which service or task used 8080 port.
 
Marshal
Posts: 4796
601
VSCode Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

chenchih lee wrote:Do anyone know how to see which service or task used 8080 port.


In Windows 7 you can use netstat to see which process is using the port, and then tasklist to find the associated executable.

For example, to find out what is using port 6000 on my workstation:

C:\Windows\system32>netstat -no | grep 6000
 TCP    0.0.0.0:6000           0.0.0.0:0              LISTENING       71392

C:\Windows\system32>tasklist | grep 71392
XWin_MobaX.exe               71392 Console                    1      3,800 K
 
J. Kevin Robbins
Bartender
Posts: 1810
28
jQuery Netbeans IDE Eclipse IDE Firefox Browser MySQL Database Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If OP doesn't have Cygwin installed, he's going to be confused by your answer.

The PIDs will be listed on the right side. Find the PID that is using port 8080 and use Taskmanager to find that process. On my system is just shows java.exe as the running process.

If you prefer a GUI to a command line, get CurrPorts from here.


 
Ron McLeod
Marshal
Posts: 4796
601
VSCode Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, that's right - the native Windows command is findstr, not grep

netstat -no | findstr XXXX
tasklist | findstr ZZZZZ
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic