Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-15336

Dashboards in civicrm do not work when using port forwarding

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 4.5
    • Fix Version/s: 4.7.11
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      On my local development version, I use port forwarding between my host machine and virtual machine, where civicrm runs. When I browse to localhost:8080 on my host, it forwards to localhost:80 on the virtual.

      Civicrm's dashboard does not work in this scenario, as it attempts to create an internal lookup to localhost:8080 (which does not work from the virtual). Instead of looking at the URL that is being presented in the browser, civicrm should only be looking at the host and port the requests are coming in on (if its an internal request).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                joelcollinsdc Joel Collins
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: