• 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

TOMCAT Remote access

 
Greenhorn
Posts: 3
  • 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
 
Saloon Keeper
Posts: 22779
153
Android Eclipse IDE Tomcat Server Redhat Java 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).
 
World domination requires a hollowed out volcano with good submarine access. Tiny ads are optional.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic