P
P
pocteg2015-04-19 18:51:32
ubuntu
pocteg, 2015-04-19 18:51:32

How to close the port for external ip in ubuntu (and how to open it)?

Good afternoon!
Can you tell me methods to close the port for external connections in ubuntu? At the same time, applications from localhost must have access to this port. And how to open back the port,

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2015-04-19
@Rsa97

The best thing is to listen on the port only on 127.0.0.1, how to do this depends on the program settings. Well, or through iptables close the port from the outside.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question