clack icon indicating copy to clipboard operation
clack copied to clipboard

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

Open cl-03 opened this issue 2 years ago • 2 comments

(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

cl-03 avatar May 09 '22 02:05 cl-03

Is 5000 port of your server open?

fukamachi avatar May 11 '22 06:05 fukamachi

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?

JironBach avatar May 11 '22 07:05 JironBach