1

I have an apache superset instance running on a remote server on port 8088:

INFO:werkzeug: * Running on http://127.0.0.1:8088/

When trying to connect to the server with servername:8088 I get a connection refused error.

I set iptable rules with sudo iptables -A INPUT -p tcp --dport 8088 -j ACCEPT.

iptables -L gives:

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:omniorb
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:omniorb

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:omniorb
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:omniorb

and sudo netstat -tnlp | grep :8088:

tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      1744/python3.6

Any help to fix this would be greatly appreciated.

Fl.pf.
  • 111
  • 2

1 Answers1

0

Did you publish the external port mapping to the superset image?

docker run -p 8080:8088 -name <<"container">> <<"image">>

here you are declaring that 8080 matches the 8088 container port

Muneer
  • 1
  • 1