{"id":3774,"date":"2023-06-12T18:25:09","date_gmt":"2023-06-12T18:25:09","guid":{"rendered":"https:\/\/geekmungus.co.uk\/?p=3774"},"modified":"2023-06-12T18:25:10","modified_gmt":"2023-06-12T18:25:10","slug":"starting-a-nodejs-gatsby-local-development-server-but-listening-on-all-ip-addresses","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=3774","title":{"rendered":"Starting a Nodejs Gatsby Local Development Server, but Listening on All IP Addresses"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If you start a Gatsby development server using &#8220;gatsby develop&#8221; it will by default only listen on the localhost (127.0.0.1), but what if your development server is remote. In that case all you need to do is start the development server as follows:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>gatsby develop -H 0.0.0.0<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now when started you&#8217;ll see something like:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"631\" height=\"201\" src=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2023\/06\/image-6.png\" alt=\"\" class=\"wp-image-3775\" srcset=\"https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2023\/06\/image-6.png 631w, https:\/\/geekmungus.co.uk\/wp-content\/uploads\/2023\/06\/image-6-300x96.png 300w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>If you start a Gatsby development server using &#8220;gatsby develop&#8221; it will by default only listen on the localhost (127.0.0.1), but what if your development server is remote. In that case all you need to do is start the development server as follows: Now when started you&#8217;ll see something like:<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-3774","post","type-post","status-publish","format-standard","hentry","category-random"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3774"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3774\/revisions"}],"predecessor-version":[{"id":3776,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3774\/revisions\/3776"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}