fukamachi / clack

Web server abstraction layer for Common Lisp
MIT License
1.04k stars 86 forks source link

the "Hello, Clack!" example didn't works well on cloud server. #174

Open cl-03 opened 2 years ago

cl-03 commented 2 years ago

(defvar *handler* (clack:clackup (lambda (env) (declare (ignore env)) '(200 (:content-type "text/plain") ("Hello, Clack!"))))) It works well on localhost,but can't Open remote web browser . my cloud server's public IP is 106.12.127.101, and go to http://106.12.127.101:5000/,it can't visit Website. image, Machine: Linux 4.19.0-19-amd64 Lisp: SBCL 1.4.16.debian ASDF: 3.3.1 ; Fetching #<URL "http://beta.quicklisp.org/dist/quicklisp-versions.txt"> ; 9.05KB

9,272 bytes in 0.00 seconds (1810.94KB/sec) Quicklisp: 2022-04-01 (latest) NIL

fukamachi commented 2 years ago

Is 5000 port of your server open?

JironBach commented 2 years ago

I'm trying to run clack server, too. Thank you very much nice server, Mr. Fukamachi.

How about try clackup with parameter " --address 0.0.0.0", cl-03?