• 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
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

pages are not accessible from internet (only from local machine)

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
tomcat 9
windows 10
standard settings
port: 8080

maybe firewall settings?
i have a standard windows 10 firewall
 
Rancher
Posts: 1012
27
Netbeans IDE Oracle MySQL Database Tomcat Server C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You will have to open the port for throughput in the firewall.  if i recall correctly, and i believe i do, requests are blocked by the firewall.

Maxim Markaitis wrote:tomcat 9
windows 10
standard settings
port: 8080

maybe firewall settings?
i have a standard windows 10 firewall

 
Les Morgan
Rancher
Posts: 1012
27
Netbeans IDE Oracle MySQL Database Tomcat Server C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
is it just the windows 10 firewall?

Maxim Markaitis wrote:tomcat 9
windows 10
standard settings
port: 8080

maybe firewall settings?
i have a standard windows 10 firewall

 
Marshal
Posts: 5222
323
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to tell us a bit more about your network and where your machine is on that network.

Is your machine in a data centre? A corporate network? Cloud hosting? At home?

How are you trying to connect to it over the internet? Direct to IP? Using a domain name?
 
Saloon Keeper
Posts: 24857
174
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are 2 primary considerations.

1. The client MUST request a url that explicitly targets port 8080. If you just aim at "foo.com", HTTP will target port 80 and HTTPS will target port 443. DNS doesn't store port numbers, only IP addresses so it cannot target 8080 automatically.

2. As Les has indicated, the network path from client to server is critical. Every node between (and including) client and server has the potential to firewall-block the request. The client could be blocking outbound requests (although this is very rare), the router, switch and/or other appliances between client and server might have firewalls, and the server itself has a builtin firewall - since this is a modern version of Windows. And since it's a modern version of Windows, it will have inbound port 8080 blocked by default.

As a rule, switches usually won't firewall and routers only will if they're routing via the Internet and not the local LAN, so the first place to check is the machine hosting Tomcat.

And, of course, if there's no network path from client to server and back again, firewalls won't matter because nothing at all can get through. So the very first diagnostic step should be to PING the server from the client to make sure that such a path exists and is online.
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic