Composer REST Server Localhost:3000 refused to connectComposer-Rest-Server not connectingRangeError deploying bna file to composer-rest-serverConnecting a composer web rest server to this fabric explorer node.js appError Composer Rest ServerHyperledger-Composer-Rest-Server - REST API publicIs uploading Business Network Cards to Composer REST servers a huge security flaw?Privacy of Hyperledger composer rest serverHyperledger Composer Angular app cannot connect to Rest APIConnection times out in browser after Composer Rest Server startsHyperledger Composer custom REST API server in Multiuser mode

Can radiation block all wireless communications?

Would the rotation of the starfield from a ring station be too disorienting?

What are my options legally if NYC company is not paying salary?

Gift for mentor after his thesis defense?

Is it a good idea to copy a trader when investing?

When was it publicly revealed that a KH-11 spy satellite took pictures of the first Shuttle flight?

Can you turn a recording upside-down?

Align a table column at a specific symbol

Was Mohammed the most popular first name for boys born in Berlin in 2018?

How to avoid making self and former employee look bad when reporting on fixing former employee's work?

Is there a need for better software for writers?

Movie where heroine wakes up to a mirror image enemy that copies her every move?

Employee is self-centered and affects the team negatively

How could a civilization detect tachyons?

Linear Independence for Vectors of Cosine Values

Two (probably) equal real numbers which are not proved to be equal?

why it is 2>&1 and not 2>>&1 to append to a log file

Is there an idiom that means "revealing a secret unintentionally"?

Creating Stored Procedure in local db that references tables in linked server

How would an instant or sorcery with an effect that targets work with Feather?

99 coins into the sacks

Why doesn't Dany protect her dragons better?

The unknown and unexplained in science fiction

Add elements inside Array conditionally in JavaScript



Composer REST Server Localhost:3000 refused to connect


Composer-Rest-Server not connectingRangeError deploying bna file to composer-rest-serverConnecting a composer web rest server to this fabric explorer node.js appError Composer Rest ServerHyperledger-Composer-Rest-Server - REST API publicIs uploading Business Network Cards to Composer REST servers a huge security flaw?Privacy of Hyperledger composer rest serverHyperledger Composer Angular app cannot connect to Rest APIConnection times out in browser after Composer Rest Server startsHyperledger Composer custom REST API server in Multiuser mode






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I've created a business network on Hyperledger Composer and tested it out on Composer playground and it works great. I could add participants, add assets, perform transactions etc. I tried to generate a bespoke rest API for the business network using the guide available at https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial and it worked great as well.



The output for the command composer-rest-server --card admin@my-network is this:



Discovering types from business network definition ...
Discovering the Returning Transactions..
Discovered types from business network definition
Generating schemas for all types in business network definition ...
Generated schemas for all types in business network definition
Adding schemas for all types to Loopback ...
Added schemas for all types to Loopback
Web server listening at: http://localhost:3000
Browse your REST API at http://localhost:3000/explorer


It's a good output but when I navigate to http://localhost:3000 it fails with error This site can’t be reached localhost refused to connect.



I also generated a skeleton Angular application using the same guide and when I run npm start it returns a positive NG Live Development Server is running on http://0.0.0.0:4200which also fails with localhost refused to connect.



I'm using an Azure Ubuntu 18.04 to build and run the network. Any help will be appreciated.










share|improve this question




























    0















    I've created a business network on Hyperledger Composer and tested it out on Composer playground and it works great. I could add participants, add assets, perform transactions etc. I tried to generate a bespoke rest API for the business network using the guide available at https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial and it worked great as well.



    The output for the command composer-rest-server --card admin@my-network is this:



    Discovering types from business network definition ...
    Discovering the Returning Transactions..
    Discovered types from business network definition
    Generating schemas for all types in business network definition ...
    Generated schemas for all types in business network definition
    Adding schemas for all types to Loopback ...
    Added schemas for all types to Loopback
    Web server listening at: http://localhost:3000
    Browse your REST API at http://localhost:3000/explorer


    It's a good output but when I navigate to http://localhost:3000 it fails with error This site can’t be reached localhost refused to connect.



    I also generated a skeleton Angular application using the same guide and when I run npm start it returns a positive NG Live Development Server is running on http://0.0.0.0:4200which also fails with localhost refused to connect.



    I'm using an Azure Ubuntu 18.04 to build and run the network. Any help will be appreciated.










    share|improve this question
























      0












      0








      0








      I've created a business network on Hyperledger Composer and tested it out on Composer playground and it works great. I could add participants, add assets, perform transactions etc. I tried to generate a bespoke rest API for the business network using the guide available at https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial and it worked great as well.



      The output for the command composer-rest-server --card admin@my-network is this:



      Discovering types from business network definition ...
      Discovering the Returning Transactions..
      Discovered types from business network definition
      Generating schemas for all types in business network definition ...
      Generated schemas for all types in business network definition
      Adding schemas for all types to Loopback ...
      Added schemas for all types to Loopback
      Web server listening at: http://localhost:3000
      Browse your REST API at http://localhost:3000/explorer


      It's a good output but when I navigate to http://localhost:3000 it fails with error This site can’t be reached localhost refused to connect.



      I also generated a skeleton Angular application using the same guide and when I run npm start it returns a positive NG Live Development Server is running on http://0.0.0.0:4200which also fails with localhost refused to connect.



      I'm using an Azure Ubuntu 18.04 to build and run the network. Any help will be appreciated.










      share|improve this question














      I've created a business network on Hyperledger Composer and tested it out on Composer playground and it works great. I could add participants, add assets, perform transactions etc. I tried to generate a bespoke rest API for the business network using the guide available at https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial and it worked great as well.



      The output for the command composer-rest-server --card admin@my-network is this:



      Discovering types from business network definition ...
      Discovering the Returning Transactions..
      Discovered types from business network definition
      Generating schemas for all types in business network definition ...
      Generated schemas for all types in business network definition
      Adding schemas for all types to Loopback ...
      Added schemas for all types to Loopback
      Web server listening at: http://localhost:3000
      Browse your REST API at http://localhost:3000/explorer


      It's a good output but when I navigate to http://localhost:3000 it fails with error This site can’t be reached localhost refused to connect.



      I also generated a skeleton Angular application using the same guide and when I run npm start it returns a positive NG Live Development Server is running on http://0.0.0.0:4200which also fails with localhost refused to connect.



      I'm using an Azure Ubuntu 18.04 to build and run the network. Any help will be appreciated.







      rest localhost hyperledger hyperledger-composer






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 19 at 15:08









      realChain LiferealChain Life

      1




      1






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Disable your port blocking service like firewall and try again. Hope it helpfull






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55244176%2fcomposer-rest-server-localhost3000-refused-to-connect%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Disable your port blocking service like firewall and try again. Hope it helpfull






            share|improve this answer



























              0














              Disable your port blocking service like firewall and try again. Hope it helpfull






              share|improve this answer

























                0












                0








                0







                Disable your port blocking service like firewall and try again. Hope it helpfull






                share|improve this answer













                Disable your port blocking service like firewall and try again. Hope it helpfull







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 23 at 7:31









                salman farissalman faris

                57112




                57112





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55244176%2fcomposer-rest-server-localhost3000-refused-to-connect%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript