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;
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:4200
which 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
add a comment |
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:4200
which 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
add a comment |
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:4200
which 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
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:4200
which 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
rest localhost hyperledger hyperledger-composer
asked Mar 19 at 15:08
realChain LiferealChain Life
1
1
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Disable your port blocking service like firewall and try again. Hope it helpfull
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Disable your port blocking service like firewall and try again. Hope it helpfull
add a comment |
Disable your port blocking service like firewall and try again. Hope it helpfull
add a comment |
Disable your port blocking service like firewall and try again. Hope it helpfull
Disable your port blocking service like firewall and try again. Hope it helpfull
answered Mar 23 at 7:31
salman farissalman faris
57112
57112
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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