-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Backend is not working on ports other than 80 and 443 #6865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @mattcoz I was unable to reproduce this issue on 2.1.1 using :8080 as port. And :81Could you please provide more details? |
I am having this same issue. I believe the issue is caused when the secure and insecure are using different ports. EnvironmentMacOS 10.12, Apache 2.4, PHP7 Magento Install Script
Apache Conf
|
Im not sure what the correct fix for this is. But in the code below if you replace |
@mattcoz Any updates on this? |
Nope, they apparently have no interest in fixing it. I'm no longer using alternate ports. |
Hi @mattcoz pleaser let us know if the issue still relevant. |
@mattcoz we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue. |
I'm currently running a local instance of Magento on ports 81 (http) and 443 (https) and am encountering this issue. Admin 404s despite configuration being correct with regards to rewrites/permissions etc. @ctadlock, your fix works for me too. Changing XML_PATH_UNSECURE_BASE_URL to XML_PATH_SECURE_BASE_URL in isHostBackend() fixes it. It looks like isHostBackend() should check XML_PATH_SECURE_IN_ADMINHTML and use the secure/unsecure base url accordingly. |
This still isnt fixed in 2.3.2. Took me all day to find this post and fixed the problem by using the secure https address in both base urls in the database. |
We're using docker and we get this as well. |
I'm seeing this issue as well on Magento 2.2.11 . |
Also experiencing this on 2.3.4 (current latest release). |
I was experiencing this before using bitnami magento2 docker image, but now I updated the image to 2.3.4 and this issue doesnt seem to be happening anymore, disabled the workaround |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Thank you for your contributions. |
[cia] MC-41647: SKU Search very slow on Admin Panel
Previous issue was closed, again, but it is NOT fixed in the latest 2.1.1. #6735
Preconditions: Magento installed on ports other than 80 and 443
Steps to reproduce: Try to access backend
Actual result: 404 not found
Expected result: Backend loads
The text was updated successfully, but these errors were encountered: