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

  • Home
  • SEARCH
  • 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 207703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:45:34+00:00 2026-05-11T17:45:34+00:00

How I can map a service running on a specific port number to an

  • 0

How I can map a service running on a specific port number to an alias on Ubuntu 8.10?

For example, I have a webservice which I can access like this:

http://localhost:3000/

But I want to access like this:

http://myservice/

I only want to access the service from the same machine.

I am running Ubuntu 8.10 and I thought at first I could modify the /etc/hosts file but I now understand I cannot include port numbers. I also looked at /etc/services file without any luck so far…

  • 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-11T17:45:34+00:00Added an answer on May 11, 2026 at 5:45 pm

    The default port for “http” is 80, so you need root privileges to do this. There are several routes you can take:

    • ssh -l root -L 3000:localhost:80 localhost
    • netcat should be able to do this, too
    • Use the firewall to forward packets
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All- I have a sports-tracker application in which I have a service running a
I have a table with two primary keys,how can i map the same in
I have image map that can I move, but this map will be so
I have a C# Windows service that listens to a HTTP port and fires
I have a google map service with the stores mapped on it. I also
I have a Windows service running in local system that simply keeps trying to
I have a webapp where users can create their account and use the service.
I am designing a WCF service which have some operations that i expose to
I'd like to make an app which would use custom map (instead of Google's
I have a Google map running with scripts (jQuery) and consuming markers and polygons

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.