• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

TOMCAT Remote access  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'm really new in using of tomcat server.

I have installed it on Windows 7 VM and i want to have access on it from my phisical host.
I have read many topic on "how to gain access in tomcat remotely" but nothing.

Please help me ,  I already spent a week on it.

Thanks in advance.
 
Author
Posts: 12
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question is very much off-topic. I recommend that you ask this question in a different forum on Coderanch.

If I were in your shoes I would also specify what "remote access" in this case means. If you want to reach the web pages served by Tomcat then it is very straightforward. If you want to debug an application remotely then you have to start Tomcat in debug mode. Btw: there is a chapter about it in the video:

https://www.packtpub.com/networking-and-servers/java-network-programming-recipes-video

Regards,
Peter
 
Bartender
Posts: 20310
110
Android Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This thread has been opened in the Tomcat forum, which is the best place to find helpful Tomcat experts. Somewhere about the time you start deploying webapps, you've begun to move out of the "beginning" category, as life gets a lot more complicated when you have an app and and app server to deal with.

As Peter has said, there's 2 types of "remote access" for Tomcat.

The most common remote access is web clients sending http requests for Tomcat to serve.

However, Tomcat, like any other application that runs on a Java Virtual Machine, is also capable of being remotely accessed by a Java debugger. The debug server is built into the JVM itself, and there's a simple command-line debug client program that comes with the JDK. Although most people prefer to use a debug client that's part of an IDE.

In either case, you have to have the appropriate service listening on one or more of the server machine's TCP/IP ports and you have to have that machine's firewall open access to those ports to external requests. As well as having open firewalls on any intermediary devices between client and server (such as routers).
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!