mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #329] mydomain.com has rejected the connection. #289
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#289
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marrobHD on GitHub (Mar 14, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/329
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should show the web page with a closed lock
Screenshots

If applicable, add screenshots to help explain your problem.
Operating System
Additional context
@miguelwill commented on GitHub (Mar 18, 2020):
validate if port 80 and 443 are correctly allowed in your iptables or docker-compose configuration and mapped ports
@marrobHD commented on GitHub (Mar 19, 2020):
Checked. All looks good.
@miguelwill commented on GitHub (Mar 19, 2020):
Okay, the port seems to be allowed in both the mapping and the iptables that the docker manages
the computer is on a local network?
if you try "telnet ip-host 80" can you establish the connection?
try also telnet to port 443
you should be able to connect if you are in the same local network, and after checking that, try remote access
@miguelwill commented on GitHub (Mar 19, 2020):
you can try to define a docker network in the docker-compose.yml file so that the network is not the default bridge
add to the statement of services:
and add to the end of the file
@marrobHD commented on GitHub (Mar 19, 2020):
Telnet works on both ports.
Thats now my config:
Still ERR_CONNECTION_REFUSED
@miguelwill commented on GitHub (Mar 20, 2020):
mm ok
the container log shows that nginx starts up correctly?
port 80 and 443 are managed by nginx, so check if it starts normally
with "docker-compose logs" you can extract the log of both services and check if they are ok
also consider that mysql may take some time to initialize before allowing nginx-proxy-manager to initialize your database the first time you start
you can also clean up the data and configuration directories in order to start with the clean instance and check the services startup log
@marrobHD commented on GitHub (Mar 20, 2020):
I started from scratch. Still won't work. All starts correctly
@catalinmiron commented on GitHub (Mar 20, 2020):
Could you please try accessing http://mydomain.com:443 and see if this works?
@marrobHD commented on GitHub (Mar 20, 2020):
Got it working. I switched to another operating system. Ubuntu 18.04