Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8690841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:59:31+00:00 2026-06-12T23:59:31+00:00

I have a web application running on tomcat at port 8080. The application needs

  • 0

I have a web application running on tomcat at port 8080. The application needs to be accessible from behind a very strict firewall. Will forwarding port 80 to 8080 allow users behind the firewall blocking 8080 to access the application?

If not, what other options do I have?

I follow these instructions for port forwarding

Step 1: View current firewall rules

sudo ipfw show

Step 2: Add port forwarding rule (80 to 8080)

The default port that Tomcat runs on is 8080, so here we show the command to do port fowarding from port 80 to 8080 (Tomcat’s default port). Obviously, this works for other ports as well, and you’d just have to adjust the command accordingly.

sudo ipfw add 100 fwd 127.0.0.1,8080 tcp from any to any 80 in

This is a temporary change, and it will revert once you reboot. If you want to make it permanent, you can create a lauch deamon for it.

Optional Remove Rule

If you want to remove your firewall rules run:

sudo ipfw flush

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:59:32+00:00Added an answer on June 12, 2026 at 11:59 pm

    Yes it will work, since the forwarding is done on your machine it looks to the outside as if it were on port 80. We had a similar set up and it worked fine.

    Of course if the firewall is very strict they might have other blocking rules that could interfere (perhaps they only allow certain IPs through).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a java web application running on tomcat, and will use single sign
I have a web application running in a vanilla install of Tomcat 7 on
I have an extremely simple web application running in Tomcat using Spring 3.0.2, Hibernate
I have written a simple web Application which is running(on Tomcat Server) fine on
I have a basic web application written in Java, running on a tomcat on
I have a web application running on Tomcat. There are several calculations that need
I have a web application running in tomcat where I'm using a ThreadPool (Java
I have a web application running in Tomcat 7. When I place the tomcat
I have a Java web application running on Tomcat. I want to load static
I have a spring MVC based web application running on Tomcat 7.0. We are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.