tcp - Linux not accepting connections to port 25 -
tcp - Linux not accepting connections to port 25 -
i working on simple smtp server, stuck on accepting tcp connections on port 25.
i tried running server , using telnet localhost , works. separate computer says trying (ip)...
when sending email's gmail smtp server not see connection
relevant code in golang
func main() { listener, err := net.listen("tcp", ":25") checkerror(err) { conn, err := listener.accept() checkerror(err) go handleconnection(conn) } }
it ubuntu server running on digital ocean
i know port 25 not beingness used , have file descriptors remaining
tried on different port , worked. seems digital ocean thing.
linux tcp go smtp
Comments
Post a Comment