mirror of
https://github.com/BretFisher/jekyll-serve.git
synced 2026-07-22 13:53:45 -04:00
is there a way to change to port from 4000 #31
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jmjamison on GitHub (Nov 6, 2022).
Is there a way to change from port 4000 to 4001 or something else? I've tried changing the command line command but it seems to ignore what I put in. Thanks.
@jmjamison commented on GitHub (Nov 6, 2022):
Apologies. I should have added I'm running this windows 10, WSL2.
@BretFisher commented on GitHub (Nov 14, 2022):
When using docker, you don't need to change the port Jekyll is running on inside the container, because each container gets its own private IP inside docker networks. If you wanted it to run on localhost:8080 (for example, in Docker Desktop + WSL2), then you would run:
docker run -p 8080:4000 -v $(pwd):/site bretfisher/jekyll-serveDoes that help?