Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Practical AWS Networking

You're reading from   Practical AWS Networking Build and manage complex networks using services such as Amazon VPC, Elastic Load Balancing, Direct Connect, and Amazon Route 53

Arrow left icon
Product type Paperback
Published in Jan 2018
Publisher
ISBN-13 9781788398299
Length 258 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Mitesh Soni Mitesh Soni
Author Profile Icon Mitesh Soni
Mitesh Soni
Arrow right icon
View More author details
Toc

Not able to connect to Tomcat server


If you are using Tomcat as a web server for application deployment, then you must be able to access Tomcat installed in the instance created in the VPC.

Problem Statement: You have created an instance, installed the Tomcat web server, and copied the WAR file in the webapps directory of Tomcat installation.

By default, Tomcat works on 8080. Try to access Tomcat using the public DNS and the 8080 port. You can't access it.

Solution:

  1. Edit inbound rules in the security groups associated with the instance created in the VPC and add a rule for the 8080 port from the specific source or from anywhere based on requirements.
  1. Try to access Tomcat using the public DNS and the 8080 port.

Now you will be able to access Tomcat if Tomcat is running.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime