{"id":375,"date":"2010-06-01T16:40:23","date_gmt":"2010-06-01T11:10:23","guid":{"rendered":"https:\/\/kunaldua.local\/blog\/2010\/06\/bespin-gotchas\/"},"modified":"2010-06-01T16:40:23","modified_gmt":"2010-06-01T11:10:23","slug":"bespin-gotchas","status":"publish","type":"post","link":"https:\/\/kunaldua.com\/blog\/2010\/06\/01\/bespin-gotchas\/","title":{"rendered":"Bespin Gotchas"},"content":{"rendered":"<p>In case of trouble connecting to Bespin from an external machine, try setting the IP address to 0.0.0.0<\/p>\n<p>Either change the file pavement.py:<\/p>\n<pre lang=\"python\" line=\"62\">\nserver=Bunch(\n   # set to true to allow connections from other machines\n   address=\"0.0.0.0\",\n   port=\"8080\",\n   try_build=False,\n   dburl=None,\n   async=False,\n   config_file=path(\"devconfig.py\"),\n   directory=path(\"..\/bespinserver\/\").abspath(),\n   clientdir=path.getcwd()\n),\n<\/pre>\n<p>Or pass it as a command line argument:<\/p>\n<pre lang=\"bash\">\npaver server.address=0.0.0.0 server.port=8080 start\n<\/pre>\n<p>In case you haven&#8217;t noticed, you can even specify the port to start on i.e. run Bespin on a custom port.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In case of trouble connecting to Bespin from an external machine, try setting the IP address to 0.0.0.0 Either change the file pavement.py: server=Bunch( # set to true to allow connections from other machines address=&#8221;0.0.0.0&#8243;, port=&#8221;8080&#8243;, try_build=False, dburl=None, async=False, config_file=path(&#8220;devconfig.py&#8221;), directory=path(&#8220;..\/bespinserver\/&#8221;).abspath(), clientdir=path.getcwd() ), Or pass it as a command line argument: paver server.address=0.0.0.0 server.port=8080 start<a class=\"more-link\" href=\"https:\/\/kunaldua.com\/blog\/2010\/06\/01\/bespin-gotchas\/\">Continue reading <span class=\"screen-reader-text\">&#8220;Bespin Gotchas&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[6,14,38,43],"tags":[],"class_list":["post-375","post","type-post","status-publish","format-standard","hentry","category-code","category-howto","category-unix","category-www","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/posts\/375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/comments?post=375"}],"version-history":[{"count":0,"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/posts\/375\/revisions"}],"wp:attachment":[{"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/media?parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/categories?post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kunaldua.com\/blog\/wp-json\/wp\/v2\/tags?post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}