I want to open port using command sudo ufw allow 3306/tcp but it gives the following error:
sudo: ufw: command not found
please help me
feedback
|
This question came from our site for professional and enthusiast programmers.
|
an open port helps you nothing, if you don't have a server listening on this port. if you install mysql it will automatically open port 3306 | |||
feedback
|
|
If the command ufw returns:
Than I'm almost sure that ufw is not installed yet. Use apt-get to install ufw on you machine. Like Matthew Flaschen typed above type:
| |||
|
feedback
|
You'll find searching the web helpful on these types of questions. | |||||
feedback
|
|
Type
(I'm making up the details, I don't have ufw installed.) If you get back something like that, it tells you that the ufw binary is at /usr/sbin/ufw. Perhaps your $PATH doesn't recognize /usr/sbin. In that case you should call ufw with a full path: ufw may well be somewhere inside /etc (or inside /etc/init.d), rather than in any .../bin directory. If
then you probably don't have it installed, and will need to do:
as Matthew Flaschen says. | |||
|
feedback
|