My domain is: ggc.world
I have a working testing-website with nginx server + letsencrypt’s certificates (issued yesterday) in a pc.
Now I would like, if it is possible, to be able to use a second webapp-server in a laptop, in order to work on the webapp more frequently.
Both pc and laptop have the same OS: Ubuntu 18.04.4 Desktop, and the same nginx server version:
nginx version: nginx/1.14.0 (Ubuntu)
As root, I copied from the pc to the laptop /etc/nginx, /etc/letsencrypt, /var/www, /var/log/letsencrypt, and also copied the testing webapp.
Environment Info in the pc:
(base) marco@pc01:~/webMatters/vueMatters/testproject$ vue info
Environment Info:
System:
OS: Linux 5.3 Ubuntu 18.04.4 LTS (Bionic Beaver)
CPU: (8) x64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Binaries:
Node: 12.15.0 - ~/.nvm/versions/node/v12.15.0/bin/node
Yarn: Not Found
npm: 6.13.4 - ~/.nvm/versions/node/v12.15.0/bin/npm
Browsers:
Chrome: 80.0.3987.100
Firefox: 72.0.2
npmPackages:
@vue/babel-helper-vue-jsx-merge-props: 1.0.0
@vue/babel-plugin-transform-vue-jsx: 1.1.2
@vue/babel-preset-app: 4.1.2
@vue/babel-preset-jsx: 1.1.2
@vue/babel-sugar-functional-vue: 1.1.2
@vue/babel-sugar-inject-h: 1.1.2
@vue/babel-sugar-v-model: 1.1.2
@vue/babel-sugar-v-on: 1.1.2
@vue/cli-overlay: 4.1.2
@vue/cli-plugin-babel: ^4.1.2 => 4.1.2
@vue/cli-plugin-eslint: ^4.1.2 => 4.1.2
@vue/cli-plugin-router: 4.1.2
@vue/cli-plugin-vuex: 4.1.2
@vue/cli-service: ^4.1.0 => 4.1.2
@vue/cli-shared-utils: 4.1.2
@vue/component-compiler-utils: 3.1.1
@vue/preload-webpack-plugin: 1.1.1
@vue/web-component-wrapper: 1.2.0
eslint-plugin-vue: ^5.0.0 => 5.2.3
vue: ^2.6.10 => 2.6.11
vue-eslint-parser: 5.0.0
vue-hot-reload-api: 2.3.4
vue-loader: 15.8.3
vue-style-loader: 4.1.2
vue-template-compiler: ^2.6.10 => 2.6.11
vue-template-es2015-compiler: 1.9.1
npmGlobalPackages:
@vue/cli: 4.1.2
Environment Info in the laptop:
(base) marco@marco-U36SG:~/vueMatters/testproject$ vue info
Environment Info:
System:
OS: Linux 5.3 Ubuntu 18.04.4 LTS (Bionic Beaver)
CPU: (4) x64 Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
Binaries:
Node: 12.15.0 - ~/.nvm/versions/node/v12.15.0/bin/node
Yarn: 1.21.1 - /usr/bin/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v12.15.0/bin/npm
Browsers:
Chrome: 80.0.3987.100
Firefox: 72.0.2
npmPackages:
@vue/babel-helper-vue-jsx-merge-props: 1.0.0
@vue/babel-plugin-transform-vue-jsx: 1.1.2
@vue/babel-preset-app: 4.1.2
@vue/babel-preset-jsx: 1.1.2
@vue/babel-sugar-functional-vue: 1.1.2
@vue/babel-sugar-inject-h: 1.1.2
@vue/babel-sugar-v-model: 1.1.2
@vue/babel-sugar-v-on: 1.1.2
@vue/cli-overlay: 4.1.2
@vue/cli-plugin-babel: ^4.1.2 => 4.1.2
@vue/cli-plugin-eslint: ^4.1.2 => 4.1.2
@vue/cli-plugin-router: 4.1.2
@vue/cli-plugin-vuex: 4.1.2
@vue/cli-service: ^4.1.0 => 4.1.2
@vue/cli-shared-utils: 4.1.2
@vue/component-compiler-utils: 3.1.1
@vue/preload-webpack-plugin: 1.1.1
@vue/web-component-wrapper: 1.2.0
eslint-plugin-vue: ^5.0.0 => 5.2.3
vue: ^2.6.10 => 2.6.11
vue-eslint-parser: 5.0.0
vue-hot-reload-api: 2.3.4
vue-loader: 15.8.3
vue-style-loader: 4.1.2
vue-template-compiler: ^2.6.10 => 2.6.11
vue-template-es2015-compiler: 1.9.1
npmGlobalPackages:
@vue/cli: 4.2.2
Now on the laptop the nginx server seems working fine:
(base) marco@marco-U36SG:~$ sudo systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-02-12 18:15:51 CET; 1h 0min ago
Docs: man:nginx(8)
Process: 11727 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile
/run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 11741 ExecReload=/usr/sbin/nginx -g daemon on; master_process on; -s reload
(code=exited, status=0/SUCCESS)
Process: 11732 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited,
status=0/SUCCESS)
Process: 11731 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited,
status=0/SUCCESS)
Main PID: 11733 (nginx)
Tasks: 5 (limit: 4548)
CGroup: /system.slice/nginx.service
├─11733 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
├─11742 nginx: worker process
├─11743 nginx: worker process
├─11744 nginx: worker process
└─11745 nginx: worker process
feb 12 18:15:51 marco-U36SG systemd[1]: Starting A high performance web server and a reverse
proxy server...
feb 12 18:15:51 marco-U36SG systemd[1]: Started A high performance web server and a reverse
proxy server.
feb 12 18:15:56 marco-U36SG systemd[1]: Reloading A high performance web server and a reverse
proxy server.
feb 12 18:15:56 marco-U36SG systemd[1]: Reloaded A high performance web server and a reverse
proxy server.
(base) marco@marco-U36SG:~$ sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
(base) marco@marco-U36SG:~/vueMatters/testproject$ sudo ufw status
[sudo] password for marco:
Status: inactive
I run the testing-webapp in the laptop:
(base) marco@marco-U36SG:~/vueMatters/testproject$ npm run serve
> testproject@0.1.0 serve /home/marco/vueMatters/testproject
> vue-cli-service serve
INFO Starting development server...
98% after emitting CopyPlugin
DONE Compiled successfully in 6653ms
7:58:45 PM
App running at:
- Local: http://localhost:8080
- Network: http://ggc.world/
Note that the development build is not optimized.
To create a production build, run npm run build.
But both SSL Server Test and CheckYourWebsiteServerDaten give me errors:
-
Assessment failed: Unable to connect to the server :
-
ConnectFailure - Unable to connect to the remote server