shunfei/cronsun

启动cronweb 提示无法与25号端口连接

Closed this issue · 1 comments

Please answer these questions before submitting your issue. Thanks!
在你提交 issue 前,请先回答以下问题,谢谢!

  1. What version of Go and cronsun version are you using?
    你用的是哪个版本的 Go 和 哪个版本的 cronsun?
    go version go1.9.4 linux/amd64

  2. What operating system and processor architecture are you using (go env)?
    你用的是哪个操作系统,什么架构的?
    centos 7.2

  3. What did you do?
    If possible, provide a recipe for reproducing the error.
    A complete runnable program is good.
    你做了什么,遇到了什么问题?尽可能描述清楚问题,最好把操作步骤写下来,按这些步骤操作后能重现你的问题。
    启动管理节点时报错,提示无法连接25号端口。

./cronweb -conf conf/base.json

2018-08-31T11:02:31.937+0800 ERROR web/server.go:67 dial tcp 218.85.138.49:25: i/o timeout
github.com/shunfei/cronsun/log.Errorf
/Users/Doflatango/go/src/github.com/shunfei/cronsun/log/log.go:39
main.main
/Users/Doflatango/go/src/github.com/shunfei/cronsun/bin/web/server.go:67
runtime.main
/usr/local/go/src/runtime/proc.go:198

  1. What did you expect to see?
    你期望得到什么样的结果?
    是不是还缺少什么依赖呢?

  2. What did you see instead?
    现在你得到的结果是什么样的?

[root@VM_0_9_centos cronsun-v0.3.2]# ./cronweb -conf conf/base.json
2018-08-31T11:02:31.937+0800 ERROR web/server.go:67 dial tcp 218.85.138.49:25: i/o timeout
github.com/shunfei/cronsun/log.Errorf
/Users/Doflatango/go/src/github.com/shunfei/cronsun/log/log.go:39
main.main
/Users/Doflatango/go/src/github.com/shunfei/cronsun/bin/web/server.go:67
runtime.main
/usr/local/go/src/runtime/proc.go:198