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 7682689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:37:31+00:00 2026-05-31T18:37:31+00:00

I use an external API where a domain/key-pair is needed, and the domain-name doesn’t

  • 0

I use an external API where a domain/key-pair is needed, and the domain-name doesn’t tolerate the port. So for my local development environment I would need to be able to use an URL without the port. I’m using Jetty.

Any ideas if / how this can be achieved?

  • 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-05-31T18:37:33+00:00Added an answer on May 31, 2026 at 6:37 pm

    (Some of what I’m writing might be obvious to you, but I prefer to be explicit)

    When you say you want to have a URL without the port, that means that you actually want to run on port 80.

    When a URL doesn’t include a port, the default port for the scheme is implied. The default port for http is 80, so http://www.google.com/ is the same as http://www.google.com:80/

    So, to have your Jetty server available at http://localhost/, you need to have it accessible on port 80.

    There are 3 broad options:

    1. Actually start it on port 80. However, on most operating systems only the admin (root) user can start services on ports lower than 1024, so you would need to start/run jetty as root. On OSX, that can be done by running Jetty with sudo. There are more complicated ways of doing this, but if you’re just running on your own desktop sudo is the easiest. You can read about some of the other ways here: http://wiki.eclipse.org/Jetty/Howto/Port80

    2. Use operating system features to map requests for port 80 to the port you’re running Jetty on. On Linux (and other similar operating systems) you can use ipchains or iptables (the Port80 page I listed above describes these), on Mac OSX ipfw can do the sme thing. Here’s an example for running Tomcat on port 80 on OSX, exactly the same instructions will work for Jetty – In your case just change the 8080 to 8090.

    3. Put another server (like Apache HTTPd) in front of Jetty. Run that server on port 80, and configure it to proxy requests through to your Jetty server. See: http://wiki.eclipse.org/Jetty/Howto/Configure_mod_proxy

    Option #2 is probably what you want, but you’ll need to decide for yourself.

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

Sidebar

Related Questions

I'm trying to use external api and display its results (after json parsing) on
We use an external API whcih returns '' or boolean false while Javascript seems
I'm trying to use an external site's API to get users IP info (country,
I have an external API (I can't modify it) with class A and local
I'm trying to create a test environment for using an external C++ API so
Wnen I use external resources such as files or DB connection I need to
I am writing an application using labview and need to use external code. I
When writing programs (C#.NET) I'll commonly use external libraries I've downloaded from various websites
I am developing a web application. For some reasons, I need to use external
I use an external diff tool with Subversion (Beyond Compare rules!), and one of

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.