Supply Chain Demo: Web interface not running


#1

Hi Samrit,

Running demo with following command as described in docs:

[[email protected] blockapps-ba]# npm run start

> [email protected] start /home/user/blockapps-ba
> node server/index.js

command line: [ '/usr/bin/node',
  '/home/user/blockapps-ba/server/index.js' ]
config filename: config.yaml
config {
  "apiDebug": true,
  "password": "1234",
  "timeout": 600000,
  "libPath": "./server/lib",
  "contractsPath": "./contracts/",
  "dataFilename": "./server/dapp/dapp.presets.yaml",
  "deployFilename": "./server/config/localhost.deploy.yaml",
  "nodes": [
    {
      "id": 0,
      "explorerUrl": "http://palmserver:9000",
      "stratoUrl": "http://palmserver/strato-api",
      "blocUrl": "http://palmserver/bloc/v2.2",
      "searchUrl": "http://palmserver/cirrus"
    }
  ]
}
Deploy: { url: 'http://palmserver/bloc/v2.2',
  admin: 
   { name: 'Admin_2260_06891',
     password: '7890',
     address: '3abf3dcaf162d0e647c729e68286a2492582fd05',
     fill: { txResult: [Object] } },
  contract: 
   { name: 'AdminInterface',
     address: '6b5c5a698ea8aaf5c36665829a186cf1106196d0' },
  users: 
   [ { username: 'Supplier1', password: '1234', role: 'SUPPLIER' },
     { username: 'Supplier2', password: '1234', role: 'SUPPLIER' },
     { username: 'Buyer1', password: '1234', role: 'BUYER' },
     { username: 'Buyer2', password: '1234', role: 'BUYER' } ] }
App listening on port 3031

It seems to be running fine, but I cannot access UI through web browser on remote machine: http://palmserver:9000

P.S.
1. STRATO Management Dashboard running fine and accessible at: http://palmserver/
2. “npm run test” completed successfully without errors
3. Added exception to firewall on ports: 3030,3031 and 9000


#2

Hi Azat,
BlockApps-BA is running on ports 3030 and 3031 (for api and ui). Port 9000 is for legacy support of the old dashboard. Should not be accessible now.
Nikita


#3

Hi Nikita,

Getting following results:

http://palmserver:3031

Cannot GET /

http://palmserver:3030

This site can’t be reached