# How to configure IP address in Franklin.jl

**URL:** <https://discourse.julialang.org/t/how-to-configure-ip-address-in-franklin-jl/37312>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [April 10, 2020, 3:48am UTC](https://discourse.julialang.org/t/how-to-configure-ip-address-in-franklin-jl/37312 "2020-04-10T03:48:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sijun](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@Sijun](https://discourse.julialang.org/u/Sijun)\
**Post date:** [April 10, 2020, 3:48am UTC](https://discourse.julialang.org/t/how-to-configure-ip-address-in-franklin-jl/37312/1 "2020-04-10T03:48:50Z")

</div>

First of all, thanks to creators of Franklin.jl ([https://franklinjl.org/](https://franklinjl.org/)) for the wonderful package.

I would like to know how to configure server IP address. The method `serve()` takes port number but I can’t find in the document how to specify IP address. Or no other way but to run Franklin behind reverse proxy?

---

<div class="post-metadata">

**Author:** ![Albert\_Zevelev](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/albert_zevelev/32/11844_2.png) [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Post date:** [April 10, 2020, 4:23am UTC](https://discourse.julialang.org/t/how-to-configure-ip-address-in-franklin-jl/37312/2 "2020-04-10T04:23:28Z")

</div>

@tlienart

---

<div class="post-metadata">

**Author:** ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Post date:** [April 10, 2020, 6:52am UTC](https://discourse.julialang.org/t/how-to-configure-ip-address-in-franklin-jl/37312/3 "2020-04-10T06:52:07Z")

</div>

Hello! I’m not sure I understand what you want to do? `serve` is to serve the site _locally_ while you’re doing edits to it, you want to do that on an IP address different than localhost?

Provided that’s indeed what you want to do for some reason, you would have to look into LiveServer.jl on which franklin relies to serve stuff, LiveServer itself calls HTTP functionalities which can listen to arbitrary IP addresses. So if you open a PR with the possibility to add an IP to the serve of LiveServer I’m happy to review it and integrate it and add the necessary changes to Franklin.

But I must admit I wonder whether that’s really what you want to do 🧐

---

<div class="post-metadata">

**Author:** ![Sijun](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@Sijun](https://discourse.julialang.org/u/Sijun)\
**Post date:** [April 10, 2020, 7:25am UTC](https://discourse.julialang.org/t/how-to-configure-ip-address-in-franklin-jl/37312/4 "2020-04-10T07:25:26Z")

</div>

@tlienart, Thanks for your kind reply. Yes that’s what I wanted to do. Now I got it. Franklin is a static site generator rather than a web server. Thanks again for your help.

---

<div class="post-metadata">

**Author:** ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Post date:** [April 10, 2020, 8:49am UTC](https://discourse.julialang.org/t/how-to-configure-ip-address-in-franklin-jl/37312/5 "2020-04-10T08:49:19Z")

</div>

Great, yes that’s correct; & I think for web server you will want to consider things like [Mux.jl](https://github.com/JuliaWeb/Mux.jl)
