localhost:433... failed connection refused.
Posted: Sunday 31 December 2017 0:47
Guys,
I am very new to this idea of port forwarding, in fact I have just watched a youtube video done by what sounded like an 8yr old lad making it sound simple, well I`m clueless and in need of help.
I am unsure if I have a router problem, a Domoticz problem or I`m just not doing it right.
When I run wget localhost:8080 all loks good however when I run the same for 433 I get what you can see below.
pi@raspberrypi:~ $ wget localhost:433
--2017-12-30 23:29:36-- http://localhost:433/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:433... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:433... failed: Connection refused.
Within my Plusnet router I have setup portforwarding from and to 433 for both UDP and TCP
My Domoticz.sh file looks like the below.
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
DESC="Domoticz Home Automation System"
NAME=domoticz
USERNAME=pi
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
DAEMON=/home/$USERNAME/domoticz/$NAME
DAEMON_ARGS="-daemon"
#DAEMON_ARGS="$DAEMON_ARGS -daemonname $NAME -pidfile $PIDFILE"
DAEMON_ARGS="$DAEMON_ARGS -www 8080"
DAEMON_ARGS="$DAEMON_ARGS -sslwww 433"
#DAEMON_ARGS="$DAEMON_ARGS -log /tmp/domoticz.txt"
#DAEMON_ARGS="$DAEMON_ARGS -syslog"
In my explorer I type HTTP://192.***.***.***:8080 and I can access Domoticz
If I type HTTPS://192.***.***.***:8080 I get
This site can’t provide a secure connection
192.***.***.*** sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR
which I suspect is correct.
If I type HTTPS://192.***.***.***:433 I get
This site can’t be reached
192.***.***.*** refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
I`m hoping that this is enough for someone to point me in the right direction.
Regards,
Ben
I am very new to this idea of port forwarding, in fact I have just watched a youtube video done by what sounded like an 8yr old lad making it sound simple, well I`m clueless and in need of help.
I am unsure if I have a router problem, a Domoticz problem or I`m just not doing it right.
When I run wget localhost:8080 all loks good however when I run the same for 433 I get what you can see below.
pi@raspberrypi:~ $ wget localhost:433
--2017-12-30 23:29:36-- http://localhost:433/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:433... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:433... failed: Connection refused.
Within my Plusnet router I have setup portforwarding from and to 433 for both UDP and TCP
My Domoticz.sh file looks like the below.
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
DESC="Domoticz Home Automation System"
NAME=domoticz
USERNAME=pi
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
DAEMON=/home/$USERNAME/domoticz/$NAME
DAEMON_ARGS="-daemon"
#DAEMON_ARGS="$DAEMON_ARGS -daemonname $NAME -pidfile $PIDFILE"
DAEMON_ARGS="$DAEMON_ARGS -www 8080"
DAEMON_ARGS="$DAEMON_ARGS -sslwww 433"
#DAEMON_ARGS="$DAEMON_ARGS -log /tmp/domoticz.txt"
#DAEMON_ARGS="$DAEMON_ARGS -syslog"
In my explorer I type HTTP://192.***.***.***:8080 and I can access Domoticz
If I type HTTPS://192.***.***.***:8080 I get
This site can’t provide a secure connection
192.***.***.*** sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR
which I suspect is correct.
If I type HTTPS://192.***.***.***:433 I get
This site can’t be reached
192.***.***.*** refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
I`m hoping that this is enough for someone to point me in the right direction.
Regards,
Ben