[racket] how to start a Web Application from a Server

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Sat Mar 21 11:03:10 EDT 2015

The message that it is available on localhost is just informative
during development. When you give "#:command-line? #t" it won't be
shown. When you passed the argument "#:listen-ip #f" this means that
it will be active on all IPs that the machine has. So, whatever the
machine's IP is should work, provider your firewall and VPN are set up


On Fri, Mar 20, 2015 at 1:47 PM, Chrakhan Barzanji
<chrakhan.barzanji at gmail.com> wrote:
> Hi,
> I have a dynamic web application, which i start with the below code. I
> installed Racket on a VM and want to run the Racket WebApplicarion from this
> virtual server which has an IP
> but when I run the Racket-Program i get following message: Your Web
> application is running at http://localhost:8080. Stop this program at any
> time to terminate the Web Server.
> this means the program  is running but how can i open the web application
> with a browser! It can't be on localhost! I'm running it from the server
> which i connect via VPN!
> the serve/servlet:
> ....
> (module+ main
>   (serve/servlet
>    dispatch
>    #:stateless? #f
>    #:launch-browser? #f
>    #:connection-close? #t
>    #:quit? #f
>    #:listen-ip #f
>    #:port 8080
>    #:servlet-regexp #rx""
>    #:extra-files-paths (list static)
>    #:servlet-path "/"
>    ;#:manager mgr
>    #:log-file "try-racket-serve-log.txt"))
> p.s.: locally works every thing as it should be...but i want it to put the
> Application on my server too!
> please write me when you can't understand me!
> thanks
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Jay McCarthy

           "Wherefore, be not weary in well-doing,
      for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
                          - D&C 64:33

Posted on the users mailing list.