<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Julia Community 🟣: Abdul Asjad Naaz</title>
    <description>The latest articles on Julia Community 🟣 by Abdul Asjad Naaz (@asjadnaaz).</description>
    <link>https://forem.julialang.org/asjadnaaz</link>
    <image>
      <url>https://forem.julialang.org/images/XKuItudY8y1y0rtxAyOFy3hMyaD0dPP1lULbD4la_bw/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly9mb3Jl/bS5qdWxpYWxhbmcu/b3JnL3JlbW90ZWlt/YWdlcy91cGxvYWRz/L3VzZXIvcHJvZmls/ZV9pbWFnZS8xMjM3/LzcwODA4NGVkLTU3/MDUtNGI5Yi1iODE3/LTVkOTk5NTE2YWFm/Ni5wbmc</url>
      <title>Julia Community 🟣: Abdul Asjad Naaz</title>
      <link>https://forem.julialang.org/asjadnaaz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.julialang.org/feed/asjadnaaz"/>
    <language>en</language>
    <item>
      <title>Genie Deployment on linux</title>
      <dc:creator>Abdul Asjad Naaz</dc:creator>
      <pubDate>Tue, 20 Jun 2023 07:40:40 +0000</pubDate>
      <link>https://forem.julialang.org/asjadnaaz/genie-deployment-on-linux-5455</link>
      <guid>https://forem.julialang.org/asjadnaaz/genie-deployment-on-linux-5455</guid>
      <description>&lt;p&gt;Hi everyone, I have cretaed one webservice using Genie. Now I am trying to deploy the same on linux server, its not working good. &lt;br&gt;
I have opened the required port on linux firewall( 19020 is what I am using). And I am trying to pass public IP address . &lt;br&gt;
When I ran up(,host="my-public-ip",async=false). It is throwing below error.&lt;/p&gt;

&lt;p&gt;┌ Info:&lt;br&gt;
└ Web Server starting at &lt;a href="http://22.14.3000.500:19020"&gt;http://22.14.3000.500:19020&lt;/a&gt; - press Ctrl/Cmd+C to stop the server.&lt;br&gt;
ERROR: cannot bind to port; may already be in use or access denied&lt;br&gt;
Stacktrace:&lt;br&gt;
 [1] error(s::String)&lt;br&gt;
   @ Base ./error.jl:33&lt;br&gt;
 [2] #listen#10&lt;br&gt;
   @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Sockets/src/Sockets.jl:624 [inlined]&lt;br&gt;
 [3] listen&lt;br&gt;
   @ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Sockets/src/Sockets.jl:623 [inlined]&lt;br&gt;
 [4] listen(f::Genie.Server.var"#7#14"{Int64}, host::Sockets.IPv4, port::Int64; sslconfig::Nothing, tcpisvalid::Function, server::Nothing, reuseaddr::Bool, max_connections::Int64, connection_count::Base.RefValue{Int64}, rate_limit::Nothing, reuse_limit::Int64, readtimeout::Int64, verbose::Bool, access_log::Nothing, on_shutdown::Nothing)&lt;br&gt;
   @ HTTP.Servers ~/.julia/packages/HTTP/aTjcj/src/Servers.jl:266&lt;br&gt;
 &lt;a href="//::Genie.Server.var"&gt;5&lt;/a&gt;()&lt;br&gt;
   @ Genie.Server ~/.julia/packages/Genie/E8mZc/src/Server.jl:110&lt;br&gt;
 [6] up(port::Int64, host::String; ws_port::Int64, async::Bool, verbose::Bool, ratelimit::Nothing, server::Nothing, wsserver::Nothing, open_browser::Bool, reuseaddr::Bool, http_kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})&lt;br&gt;
   @ Genie.Server ~/.julia/packages/Genie/E8mZc/src/Server.jl:134&lt;br&gt;
 [7] #up#17&lt;br&gt;
   @ ~/.julia/packages/Genie/E8mZc/src/Server.jl:154 [inlined]&lt;br&gt;
 [8] top-level scope&lt;/p&gt;

&lt;p&gt;I ahve tried disabling firewall also but its not working. I have tried running Genie server directly and through docker deployment also , in both casesd its throwing same error. Tried on RHEL 8.2 and Centos 8.0 server.  &lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
