Tag : Express

mongod –dbpath /usr/local/var/mongodb 2018-07-03T10:50:12.444+0800 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify –sslDisabledProtocols ‘none’ 2018-07-03T10:50:12.457+0800 I CONTROL [initandlisten] MongoDB starting : pid=44555 port=27017 dbpath=/usr/local/var/mongodb 64-bit host=huhaifengdeMacBook-Pro.local 2018-07-03T10:50:12.457+0800 I CONTROL [initandlisten] db version v4.0.0 2018-07-03T10:50:12.457+0800 I CONTROL [initandlisten] git version: 3b07af3d4f471ae89e8186d33bbb1d5259597d51 2018-07-03T10:50:12.457+0800 I CONTROL [initandlisten] allocator: system 2018-07-03T10:50:12.458+0800 I CONTROL [initandlisten] modules: ..

Read more

This is the situation now.1. The blog on 1.vps has been set up. express is used, the background service is resident, and 3000 ports are monitored.2. Purchase domain name and set up analysis.3. Adoptionwww.example.com:3000And107.107.107.107:3000(for example) can visit the home page. So how can I enter www.example.com and then directly access the contents of the homepage? ..

Read more