Permission denied error in Apache logs for proxy

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

User has set up an Apache httpd proxy to present JIRA on port 80 and is on Linux.

Check the your httpd logs for the following error:

1 [error] (13)Permission denied: proxy: HTTP: attempt to connect to 192.168.1.1:8080 (jira.example.com) failed

Cause

SELinux is blocking httpd from working correctly.

Workaround

Deactivate SELinux, or generate and adjust SELinux policies to permit the required connections.

Resolution

Run the following command on the server to allow Apache to make outbound connections.

1 /usr/sbin/setsebool -P httpd_can_network_connect 1
Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.