I am trying out some of the bottle coding.
I write a service (in a Vagrant environment, thus virtual machine) andon localhost:3000 I can see the output.
However as I am running in Vagrant (guest) and the port 3000 isforwarded into host as 3000 as well.
However when I try localhost:3000 from host, I get the error:
http: error: ConnectionError: HTTPConnectionPool(host=' localhost', port=3000): Max retries exceeded with url: / (Caused by <class 'socket.error'>: [Errno 104] Connection reset by peer)
I am trying out some things in a Go web development environment and a JavaScript framework as well. They can hit the forwarded ports in guest from host - no problem. Even 3000.
However, it seems can't get there from bottle or even flask, from host:3000 to guest:3000 - even though 3000 is forwarded.
My file is Controller.py - does the naming convention or directory structure matter?
Please let me know if any suggestions.
댓글 없음:
댓글 쓰기