summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-08-07 17:32:18 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-08-07 17:32:18 -0400
commit863d76769a7e90f00f5b003a5bcfe8758054cf27 (patch)
treee6ee626b4c7e9922910dd2c85439477052eb5551
parent4f56c54a4bce052d785c16e54d90cbdb42e2a0b1 (diff)
Allow connections from any computer on the network.
* guix-web: use INADDR_ANY for http server addr.
-rwxr-xr-xguix-web5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix-web b/guix-web
index 24e7c6e..4ef25a4 100755
--- a/guix-web
+++ b/guix-web
@@ -255,7 +255,10 @@
(tbody ,@(map weblabel javascripts))))))
(spawn-server (make-tcp-server-socket #:port 37146))
-(run-server (lambda args (apply handler args)))
+(run-server (lambda args (apply handler args))
+ 'http
+ `(#:addr ,INADDR_ANY
+ #:port 8080))
;;; Local Variables:
;;; mode: scheme