Fisheye installation

Hi

I have recently installed fisheye on linux environment.

I am trying to change the bind port from the default port 8060 to port 80 (so that i dont have to give port number in the URL)

When i change the port in the config.xml it does not accept port 80 (fishey does not start with port 80)

If I give any other port (say 8061, 8062, 8080 etc..) in the config.xml, it works (fisheye starts normally)

How can i get fisheye to start up on port 80?

Rahul

1 answer

1 accepted

Accepted Answer
2 votes

Hi Rahul,

In *nix systems ports in range 1..1023 are called privileged ports and only processes owned by root user would be able to bind to those ports. I'm guessing this is the reason why you can't run your server on port 80.

There are few alternatives you can consider to solve this problem:

  • start FishEye as a root user - NOT RECOMMENDED, this is considered bad practice from security perspective, potential JVM vulnerabilities can be used by malicious attackers to take control of your machine
  • set up reverse proxy on port 80 that would internally route all the traffic to FishEye instance listening on non privileged port. Typically nginx or apache server would be used, see https://confluence.atlassian.com/display/FISHEYE/Integrating+with+other+web+servers
  • alternatively you could set up web server (apache, nginx, etc.) on port 80 which would automatically redirect clients to unprivileged port

I hope that helps.
Kind regards,
Piotr

Thanks Piotr, we got round this problem by setting up reverse proxy in front of fisheye server.

Rahul

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 8 hours ago in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

146 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you