Report this

What is the reason for this report?

Opening ports on my server

Posted on October 3, 2014
damp

By damp

Hi

I have tried to follow this guide here (How To Set Up a Firewall Using IPTables on Ubuntu 14.04) and have done everything this tutorial said. But still when I scan my server with nmap <myserverip> i still only get port 22 and port 80 as open. I need to open port 50010 for a service I am trying to create, but I see no way for me to open this port.

sudo iptables -L: Chain INPUT (policy ACCEPT) target prot opt source destination
ACCEPT all – anywhere anywhere
ACCEPT all – anywhere anywhere ctstate RELATED,ESTABLISHED ACCEPT tcp – anywhere anywhere tcp dpt:ssh ACCEPT tcp – anywhere anywhere tcp dpt:http ACCEPT tcp – anywhere anywhere tcp dpt:50010

Chain FORWARD (policy ACCEPT) target prot opt source destination

Chain OUTPUT (policy ACCEPT) target prot opt source destination

Answers will be greately appreciated!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.