You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
%% server is det.
%% server(?Port) is det.
%
% Start the web-server on Port. Port may be unbound to make the
% system select a free port. Port can also be of the form
% localhost:Port to bind the server only to the localhost
% interface.
server :-
server(localhost:3050).
server(Port) :-
http_server(http_dispatch,
[ port(Port),
workers(16)
]).
The text was updated successfully, but these errors were encountered:
from swish
handy way to bind only to localhost
%% server is det.
%% server(?Port) is det.
%
% Start the web-server on Port. Port may be unbound to make the
% system select a free port. Port can also be of the form
%
localhost:Port
to bind the server only to the localhost% interface.
server :-
server(localhost:3050).
server(Port) :-
http_server(http_dispatch,
[ port(Port),
workers(16)
]).
The text was updated successfully, but these errors were encountered: