我的服务器上的连接被拒绝。注意:我正在尝试从本地主机连接。
我试图用来测试的命令:
user@hostname:~$ telnet localhost pop3
Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
Run Code Online (Sandbox Code Playgroud)
当我尝试使用 imap 时出现同样的错误。
在维基达夫科特提出了这个问题故障排除,但我已经尝试过修复。我在配置中添加了协议,并将监听选项设置为*. 我的配置如下。我不确定出了什么问题?## Dovecot 配置文件
# If you're in a hurry, see http://wiki2.dovecot.org/QuickConfiguration
# "doveconf -n" command gives a clean output of the changed settings. Use it
# instead of copy&pasting files when posting to the Dovecot mailing list.
# '#' character and everything after it is treated as comments. Extra spaces
# and tabs …Run Code Online (Sandbox Code Playgroud)