Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,321
Community Members
 
Community Events
168
Community Groups

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

2 votes
Answer accepted

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
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

192 views 1 6
Read article

Atlassian Community Events