Why is mysql server accepting nonlocal request, while postgresql server is not?2019 Community Moderator ElectionWhy does mysql server not accept nonlocal connection request, but still listen on a tcp port?Find all postgresql and mysql databases on a systemMYSQL not startingServer Not accepting TCP/IP ConnectionsPostgreSQL: too many connections for role “rep” on slave serverMysql server not startingpostgresql doesn't start with LinuxPostgreSQL installation on a Synology DiskStation (DS216j) & pgAdminIIIFun with Ubuntu 16.04 and mysqlMySQL server sometimes shutdownCannot access MySQL Database - PID file could not be found
Permission on Database
How does electrical safety system work on ISS?
Review your own paper in Mathematics
What is going on with gets(stdin) on the site coderbyte?
Taxes on Dividends in a Roth IRA
Has any country ever had 2 former presidents in jail simultaneously?
What kind of floor tile is this?
How do I tell my boss that I'm quitting soon, especially given that a colleague just left this week
"It doesn't matter" or "it won't matter"?
Mimic lecturing on blackboard, facing audience
"before" and "want" for the same systemd service?
What fields between the rationals and the reals allow a good notion of 2D distance?
Merge org tables
US tourist/student visa
What's the name of the logical fallacy where a debater extends a statement far beyond the original statement to make it true?
What are some good ways to treat frozen vegetables such that they behave like fresh vegetables when stir frying them?
Did the UK lift the requirement for registering SIM cards?
Is it ethical to recieve stipend after publishing enough papers?
Pre-mixing cryogenic fuels and using only one fuel tank
Why the "ls" command is showing the permissions of files in a FAT32 partition?
The Digit Triangles
Is there a RAID 0 Equivalent for RAM?
Is this toilet slogan correct usage of the English language?
Make a Bowl of Alphabet Soup
Why is mysql server accepting nonlocal request, while postgresql server is not?
2019 Community Moderator ElectionWhy does mysql server not accept nonlocal connection request, but still listen on a tcp port?Find all postgresql and mysql databases on a systemMYSQL not startingServer Not accepting TCP/IP ConnectionsPostgreSQL: too many connections for role “rep” on slave serverMysql server not startingpostgresql doesn't start with LinuxPostgreSQL installation on a Synology DiskStation (DS216j) & pgAdminIIIFun with Ubuntu 16.04 and mysqlMySQL server sometimes shutdownCannot access MySQL Database - PID file could not be found
By default configurations, why is mysql server accepting nonlocal request, while postgresql server is not?
$ nmap -p0-65535 192.168.1.97
Starting Nmap 7.60 ( https://nmap.org ) at 2019-03-20 14:34 EDT
Nmap scan report for ocean.fios-router.home (192.168.1.97)
Host is up (0.00036s latency).
Not shown: 65533 closed ports
PORT STATE SERVICE
22/tcp open ssh
3306/tcp open mysql
33060/tcp open mysqlx
Nmap done: 1 IP address (1 host up) scanned in 4.50 seconds
Can netstat tell me the reason?
$ sudo netstat -ap | grep postg
tcp 0 0 localhost:postgresql 0.0.0.0:* LISTEN 1567/postgres
udp 0 0 localhost:57504 localhost:57504 ESTABLISHED 1567/postgres
unix 2 [ ACC ] STREAM LISTENING 27116 1567/postgres /var/run/postgresql/.s.PGSQL.5432
$ sudo netstat -ap | grep mysql
tcp6 0 0 [::]:mysql [::]:* LISTEN 23683/mysqld
tcp6 0 0 [::]:33060 [::]:* LISTEN 23683/mysqld
unix 2 [ ACC ] STREAM LISTENING 1169294 23683/mysqld /var/run/mysqld/mysqld.sock
unix 2 [ ACC ] STREAM LISTENING 1169513 23683/mysqld /var/run/mysqld/mysqlx.sock
unix 2 [ ] DGRAM 1169211 23683/mysqld
How can I configure mysql work like postgresql, so that it is running but not accepting nonlocal request?
Thanks.
mysql socket postgresql port
add a comment |
By default configurations, why is mysql server accepting nonlocal request, while postgresql server is not?
$ nmap -p0-65535 192.168.1.97
Starting Nmap 7.60 ( https://nmap.org ) at 2019-03-20 14:34 EDT
Nmap scan report for ocean.fios-router.home (192.168.1.97)
Host is up (0.00036s latency).
Not shown: 65533 closed ports
PORT STATE SERVICE
22/tcp open ssh
3306/tcp open mysql
33060/tcp open mysqlx
Nmap done: 1 IP address (1 host up) scanned in 4.50 seconds
Can netstat tell me the reason?
$ sudo netstat -ap | grep postg
tcp 0 0 localhost:postgresql 0.0.0.0:* LISTEN 1567/postgres
udp 0 0 localhost:57504 localhost:57504 ESTABLISHED 1567/postgres
unix 2 [ ACC ] STREAM LISTENING 27116 1567/postgres /var/run/postgresql/.s.PGSQL.5432
$ sudo netstat -ap | grep mysql
tcp6 0 0 [::]:mysql [::]:* LISTEN 23683/mysqld
tcp6 0 0 [::]:33060 [::]:* LISTEN 23683/mysqld
unix 2 [ ACC ] STREAM LISTENING 1169294 23683/mysqld /var/run/mysqld/mysqld.sock
unix 2 [ ACC ] STREAM LISTENING 1169513 23683/mysqld /var/run/mysqld/mysqlx.sock
unix 2 [ ] DGRAM 1169211 23683/mysqld
How can I configure mysql work like postgresql, so that it is running but not accepting nonlocal request?
Thanks.
mysql socket postgresql port
It will be in the config. This is why you should run a local firewall on your machine. It gives you one place to allow incoming connections. Some say it is pointless, but it does help when you miss-configure a service.
– ctrl-alt-delor
yesterday
Thanks. May I ask what commands you would use to run a local firewall for this purpose?
– Tim
yesterday
ufwis a simple one,gufwis its graphical-user-interface. (It is a front end to ip-tables.) On any debian based system just doapt-get install gufw, then you can dogufw &. At the top you specify the default rules e.g. incoming = Deny. The you can override by allowing services/ports
– ctrl-alt-delor
yesterday
That's a different question which, if submitted, would probably be closed as "primarily opinion-based"
– DopeGhoti
yesterday
add a comment |
By default configurations, why is mysql server accepting nonlocal request, while postgresql server is not?
$ nmap -p0-65535 192.168.1.97
Starting Nmap 7.60 ( https://nmap.org ) at 2019-03-20 14:34 EDT
Nmap scan report for ocean.fios-router.home (192.168.1.97)
Host is up (0.00036s latency).
Not shown: 65533 closed ports
PORT STATE SERVICE
22/tcp open ssh
3306/tcp open mysql
33060/tcp open mysqlx
Nmap done: 1 IP address (1 host up) scanned in 4.50 seconds
Can netstat tell me the reason?
$ sudo netstat -ap | grep postg
tcp 0 0 localhost:postgresql 0.0.0.0:* LISTEN 1567/postgres
udp 0 0 localhost:57504 localhost:57504 ESTABLISHED 1567/postgres
unix 2 [ ACC ] STREAM LISTENING 27116 1567/postgres /var/run/postgresql/.s.PGSQL.5432
$ sudo netstat -ap | grep mysql
tcp6 0 0 [::]:mysql [::]:* LISTEN 23683/mysqld
tcp6 0 0 [::]:33060 [::]:* LISTEN 23683/mysqld
unix 2 [ ACC ] STREAM LISTENING 1169294 23683/mysqld /var/run/mysqld/mysqld.sock
unix 2 [ ACC ] STREAM LISTENING 1169513 23683/mysqld /var/run/mysqld/mysqlx.sock
unix 2 [ ] DGRAM 1169211 23683/mysqld
How can I configure mysql work like postgresql, so that it is running but not accepting nonlocal request?
Thanks.
mysql socket postgresql port
By default configurations, why is mysql server accepting nonlocal request, while postgresql server is not?
$ nmap -p0-65535 192.168.1.97
Starting Nmap 7.60 ( https://nmap.org ) at 2019-03-20 14:34 EDT
Nmap scan report for ocean.fios-router.home (192.168.1.97)
Host is up (0.00036s latency).
Not shown: 65533 closed ports
PORT STATE SERVICE
22/tcp open ssh
3306/tcp open mysql
33060/tcp open mysqlx
Nmap done: 1 IP address (1 host up) scanned in 4.50 seconds
Can netstat tell me the reason?
$ sudo netstat -ap | grep postg
tcp 0 0 localhost:postgresql 0.0.0.0:* LISTEN 1567/postgres
udp 0 0 localhost:57504 localhost:57504 ESTABLISHED 1567/postgres
unix 2 [ ACC ] STREAM LISTENING 27116 1567/postgres /var/run/postgresql/.s.PGSQL.5432
$ sudo netstat -ap | grep mysql
tcp6 0 0 [::]:mysql [::]:* LISTEN 23683/mysqld
tcp6 0 0 [::]:33060 [::]:* LISTEN 23683/mysqld
unix 2 [ ACC ] STREAM LISTENING 1169294 23683/mysqld /var/run/mysqld/mysqld.sock
unix 2 [ ACC ] STREAM LISTENING 1169513 23683/mysqld /var/run/mysqld/mysqlx.sock
unix 2 [ ] DGRAM 1169211 23683/mysqld
How can I configure mysql work like postgresql, so that it is running but not accepting nonlocal request?
Thanks.
mysql socket postgresql port
mysql socket postgresql port
asked yesterday
TimTim
27.9k78269486
27.9k78269486
It will be in the config. This is why you should run a local firewall on your machine. It gives you one place to allow incoming connections. Some say it is pointless, but it does help when you miss-configure a service.
– ctrl-alt-delor
yesterday
Thanks. May I ask what commands you would use to run a local firewall for this purpose?
– Tim
yesterday
ufwis a simple one,gufwis its graphical-user-interface. (It is a front end to ip-tables.) On any debian based system just doapt-get install gufw, then you can dogufw &. At the top you specify the default rules e.g. incoming = Deny. The you can override by allowing services/ports
– ctrl-alt-delor
yesterday
That's a different question which, if submitted, would probably be closed as "primarily opinion-based"
– DopeGhoti
yesterday
add a comment |
It will be in the config. This is why you should run a local firewall on your machine. It gives you one place to allow incoming connections. Some say it is pointless, but it does help when you miss-configure a service.
– ctrl-alt-delor
yesterday
Thanks. May I ask what commands you would use to run a local firewall for this purpose?
– Tim
yesterday
ufwis a simple one,gufwis its graphical-user-interface. (It is a front end to ip-tables.) On any debian based system just doapt-get install gufw, then you can dogufw &. At the top you specify the default rules e.g. incoming = Deny. The you can override by allowing services/ports
– ctrl-alt-delor
yesterday
That's a different question which, if submitted, would probably be closed as "primarily opinion-based"
– DopeGhoti
yesterday
It will be in the config. This is why you should run a local firewall on your machine. It gives you one place to allow incoming connections. Some say it is pointless, but it does help when you miss-configure a service.
– ctrl-alt-delor
yesterday
It will be in the config. This is why you should run a local firewall on your machine. It gives you one place to allow incoming connections. Some say it is pointless, but it does help when you miss-configure a service.
– ctrl-alt-delor
yesterday
Thanks. May I ask what commands you would use to run a local firewall for this purpose?
– Tim
yesterday
Thanks. May I ask what commands you would use to run a local firewall for this purpose?
– Tim
yesterday
ufw is a simple one, gufw is its graphical-user-interface. (It is a front end to ip-tables.) On any debian based system just do apt-get install gufw, then you can do gufw &. At the top you specify the default rules e.g. incoming = Deny. The you can override by allowing services/ports– ctrl-alt-delor
yesterday
ufw is a simple one, gufw is its graphical-user-interface. (It is a front end to ip-tables.) On any debian based system just do apt-get install gufw, then you can do gufw &. At the top you specify the default rules e.g. incoming = Deny. The you can override by allowing services/ports– ctrl-alt-delor
yesterday
That's a different question which, if submitted, would probably be closed as "primarily opinion-based"
– DopeGhoti
yesterday
That's a different question which, if submitted, would probably be closed as "primarily opinion-based"
– DopeGhoti
yesterday
add a comment |
1 Answer
1
active
oldest
votes
There is no need of a firewall to such task. Note that i'm not saying firewalls are useless but you just need to disable all address listen(0.0.0.0). Least privilege on what addresses your software is able to wait for connections.
PostgreSQL and MySQL are different softwares and thus, can have different default behaviors of network, user access, installation path, database files path, filesystems supported, etc. You can't correlate those just because they are DBs. Other thing that could influence default configuration is what the responsibles for this packages inside your distribution decided the software should use as defaults.
MySQL defaults is to listen at all network addresses(0.0.0.0) unless configured differently by the distribution as explained above.
Back to your question, to make MySQL answer to localhost only, access it's config file(most cases at /etc/my.cnf or /etc/mysql/my.cnf) and add or edit the following line:
bind-address = 127.0.0.1
After that, restart your mysql service(depends on the distro, generally systemctl restart mysql or systemctl restart mysqld)
Double check with ss command:
ss -lntu | grep mysql
Thanks. If not looking at nmap, can you tell that mysql accepts nonlocal request, while postgresql doesn't, by for example netstat?
– Tim
yesterday
Withss -lntuas root you can see the process and port it is listening at
– nwildner
yesterday
Thanks. May I ask whyss -lntudoesn't show postgreql, whilenetstat -apdoes? How can I tell from the output ofnetstat -apthat postgresql is not accepting a nonlocal connection request, while mysql is?
– Tim
yesterday
if you are grepping by themysqlword, it will not show postgres related stuff. You need also to execute that command as root.
– nwildner
yesterday
Maybe I wasn't clear. Take a look at the output ofsudo netstat -ap | grep postgin my post, does postgresql listen atlocalhost:postgresql? If so, why doesn'tnmapnot reports postgresql is listening at some tcp port? What does that udp established connection betweenlocalhost:57504and itself mean?
– Tim
yesterday
|
show 5 more comments
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f507510%2fwhy-is-mysql-server-accepting-nonlocal-request-while-postgresql-server-is-not%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
There is no need of a firewall to such task. Note that i'm not saying firewalls are useless but you just need to disable all address listen(0.0.0.0). Least privilege on what addresses your software is able to wait for connections.
PostgreSQL and MySQL are different softwares and thus, can have different default behaviors of network, user access, installation path, database files path, filesystems supported, etc. You can't correlate those just because they are DBs. Other thing that could influence default configuration is what the responsibles for this packages inside your distribution decided the software should use as defaults.
MySQL defaults is to listen at all network addresses(0.0.0.0) unless configured differently by the distribution as explained above.
Back to your question, to make MySQL answer to localhost only, access it's config file(most cases at /etc/my.cnf or /etc/mysql/my.cnf) and add or edit the following line:
bind-address = 127.0.0.1
After that, restart your mysql service(depends on the distro, generally systemctl restart mysql or systemctl restart mysqld)
Double check with ss command:
ss -lntu | grep mysql
Thanks. If not looking at nmap, can you tell that mysql accepts nonlocal request, while postgresql doesn't, by for example netstat?
– Tim
yesterday
Withss -lntuas root you can see the process and port it is listening at
– nwildner
yesterday
Thanks. May I ask whyss -lntudoesn't show postgreql, whilenetstat -apdoes? How can I tell from the output ofnetstat -apthat postgresql is not accepting a nonlocal connection request, while mysql is?
– Tim
yesterday
if you are grepping by themysqlword, it will not show postgres related stuff. You need also to execute that command as root.
– nwildner
yesterday
Maybe I wasn't clear. Take a look at the output ofsudo netstat -ap | grep postgin my post, does postgresql listen atlocalhost:postgresql? If so, why doesn'tnmapnot reports postgresql is listening at some tcp port? What does that udp established connection betweenlocalhost:57504and itself mean?
– Tim
yesterday
|
show 5 more comments
There is no need of a firewall to such task. Note that i'm not saying firewalls are useless but you just need to disable all address listen(0.0.0.0). Least privilege on what addresses your software is able to wait for connections.
PostgreSQL and MySQL are different softwares and thus, can have different default behaviors of network, user access, installation path, database files path, filesystems supported, etc. You can't correlate those just because they are DBs. Other thing that could influence default configuration is what the responsibles for this packages inside your distribution decided the software should use as defaults.
MySQL defaults is to listen at all network addresses(0.0.0.0) unless configured differently by the distribution as explained above.
Back to your question, to make MySQL answer to localhost only, access it's config file(most cases at /etc/my.cnf or /etc/mysql/my.cnf) and add or edit the following line:
bind-address = 127.0.0.1
After that, restart your mysql service(depends on the distro, generally systemctl restart mysql or systemctl restart mysqld)
Double check with ss command:
ss -lntu | grep mysql
Thanks. If not looking at nmap, can you tell that mysql accepts nonlocal request, while postgresql doesn't, by for example netstat?
– Tim
yesterday
Withss -lntuas root you can see the process and port it is listening at
– nwildner
yesterday
Thanks. May I ask whyss -lntudoesn't show postgreql, whilenetstat -apdoes? How can I tell from the output ofnetstat -apthat postgresql is not accepting a nonlocal connection request, while mysql is?
– Tim
yesterday
if you are grepping by themysqlword, it will not show postgres related stuff. You need also to execute that command as root.
– nwildner
yesterday
Maybe I wasn't clear. Take a look at the output ofsudo netstat -ap | grep postgin my post, does postgresql listen atlocalhost:postgresql? If so, why doesn'tnmapnot reports postgresql is listening at some tcp port? What does that udp established connection betweenlocalhost:57504and itself mean?
– Tim
yesterday
|
show 5 more comments
There is no need of a firewall to such task. Note that i'm not saying firewalls are useless but you just need to disable all address listen(0.0.0.0). Least privilege on what addresses your software is able to wait for connections.
PostgreSQL and MySQL are different softwares and thus, can have different default behaviors of network, user access, installation path, database files path, filesystems supported, etc. You can't correlate those just because they are DBs. Other thing that could influence default configuration is what the responsibles for this packages inside your distribution decided the software should use as defaults.
MySQL defaults is to listen at all network addresses(0.0.0.0) unless configured differently by the distribution as explained above.
Back to your question, to make MySQL answer to localhost only, access it's config file(most cases at /etc/my.cnf or /etc/mysql/my.cnf) and add or edit the following line:
bind-address = 127.0.0.1
After that, restart your mysql service(depends on the distro, generally systemctl restart mysql or systemctl restart mysqld)
Double check with ss command:
ss -lntu | grep mysql
There is no need of a firewall to such task. Note that i'm not saying firewalls are useless but you just need to disable all address listen(0.0.0.0). Least privilege on what addresses your software is able to wait for connections.
PostgreSQL and MySQL are different softwares and thus, can have different default behaviors of network, user access, installation path, database files path, filesystems supported, etc. You can't correlate those just because they are DBs. Other thing that could influence default configuration is what the responsibles for this packages inside your distribution decided the software should use as defaults.
MySQL defaults is to listen at all network addresses(0.0.0.0) unless configured differently by the distribution as explained above.
Back to your question, to make MySQL answer to localhost only, access it's config file(most cases at /etc/my.cnf or /etc/mysql/my.cnf) and add or edit the following line:
bind-address = 127.0.0.1
After that, restart your mysql service(depends on the distro, generally systemctl restart mysql or systemctl restart mysqld)
Double check with ss command:
ss -lntu | grep mysql
edited yesterday
answered yesterday
nwildnernwildner
14.8k34380
14.8k34380
Thanks. If not looking at nmap, can you tell that mysql accepts nonlocal request, while postgresql doesn't, by for example netstat?
– Tim
yesterday
Withss -lntuas root you can see the process and port it is listening at
– nwildner
yesterday
Thanks. May I ask whyss -lntudoesn't show postgreql, whilenetstat -apdoes? How can I tell from the output ofnetstat -apthat postgresql is not accepting a nonlocal connection request, while mysql is?
– Tim
yesterday
if you are grepping by themysqlword, it will not show postgres related stuff. You need also to execute that command as root.
– nwildner
yesterday
Maybe I wasn't clear. Take a look at the output ofsudo netstat -ap | grep postgin my post, does postgresql listen atlocalhost:postgresql? If so, why doesn'tnmapnot reports postgresql is listening at some tcp port? What does that udp established connection betweenlocalhost:57504and itself mean?
– Tim
yesterday
|
show 5 more comments
Thanks. If not looking at nmap, can you tell that mysql accepts nonlocal request, while postgresql doesn't, by for example netstat?
– Tim
yesterday
Withss -lntuas root you can see the process and port it is listening at
– nwildner
yesterday
Thanks. May I ask whyss -lntudoesn't show postgreql, whilenetstat -apdoes? How can I tell from the output ofnetstat -apthat postgresql is not accepting a nonlocal connection request, while mysql is?
– Tim
yesterday
if you are grepping by themysqlword, it will not show postgres related stuff. You need also to execute that command as root.
– nwildner
yesterday
Maybe I wasn't clear. Take a look at the output ofsudo netstat -ap | grep postgin my post, does postgresql listen atlocalhost:postgresql? If so, why doesn'tnmapnot reports postgresql is listening at some tcp port? What does that udp established connection betweenlocalhost:57504and itself mean?
– Tim
yesterday
Thanks. If not looking at nmap, can you tell that mysql accepts nonlocal request, while postgresql doesn't, by for example netstat?
– Tim
yesterday
Thanks. If not looking at nmap, can you tell that mysql accepts nonlocal request, while postgresql doesn't, by for example netstat?
– Tim
yesterday
With
ss -lntu as root you can see the process and port it is listening at– nwildner
yesterday
With
ss -lntu as root you can see the process and port it is listening at– nwildner
yesterday
Thanks. May I ask why
ss -lntu doesn't show postgreql, while netstat -ap does? How can I tell from the output of netstat -ap that postgresql is not accepting a nonlocal connection request, while mysql is?– Tim
yesterday
Thanks. May I ask why
ss -lntu doesn't show postgreql, while netstat -ap does? How can I tell from the output of netstat -ap that postgresql is not accepting a nonlocal connection request, while mysql is?– Tim
yesterday
if you are grepping by the
mysql word, it will not show postgres related stuff. You need also to execute that command as root.– nwildner
yesterday
if you are grepping by the
mysql word, it will not show postgres related stuff. You need also to execute that command as root.– nwildner
yesterday
Maybe I wasn't clear. Take a look at the output of
sudo netstat -ap | grep postg in my post, does postgresql listen at localhost:postgresql? If so, why doesn't nmap not reports postgresql is listening at some tcp port? What does that udp established connection between localhost:57504 and itself mean?– Tim
yesterday
Maybe I wasn't clear. Take a look at the output of
sudo netstat -ap | grep postg in my post, does postgresql listen at localhost:postgresql? If so, why doesn't nmap not reports postgresql is listening at some tcp port? What does that udp established connection between localhost:57504 and itself mean?– Tim
yesterday
|
show 5 more comments
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f507510%2fwhy-is-mysql-server-accepting-nonlocal-request-while-postgresql-server-is-not%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It will be in the config. This is why you should run a local firewall on your machine. It gives you one place to allow incoming connections. Some say it is pointless, but it does help when you miss-configure a service.
– ctrl-alt-delor
yesterday
Thanks. May I ask what commands you would use to run a local firewall for this purpose?
– Tim
yesterday
ufwis a simple one,gufwis its graphical-user-interface. (It is a front end to ip-tables.) On any debian based system just doapt-get install gufw, then you can dogufw &. At the top you specify the default rules e.g. incoming = Deny. The you can override by allowing services/ports– ctrl-alt-delor
yesterday
That's a different question which, if submitted, would probably be closed as "primarily opinion-based"
– DopeGhoti
yesterday