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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

146 views 2 0
Join discussion

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