I have the following hyper hello server deployed to a AWS linux instance:
https://github.com/hyperium/hyper/blob/master/examples/hello.rs
I also have the following Python 2 script for comparison:
import SimpleHTTPServer
import SocketServer
PORT = 3000
Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
httpd = SocketServer.TCPServer(("", PORT), Handler)
print "serving at port", PORT
httpd.serve_forever()
The python server is accessible from the internet whereas the Rust hyper server refuses to connect.
There's no problem with the firewall. Ports are accessible on the system.
What am I missing here?