Administrator Guide

ホスト名を IP アドレスに変更する手順
ホスト名の解決に失敗した場合、ホスト名を IP アドレスに変更する手順は、次のとおりです。
1 上級の管理モードで DOS プロンプトを開きます。
2 ディレクトリを C:\Program Files\DELL\WMS\MongoDB\bin に変更します。
3 次のコマンドを入力しますmongo localhost -username stratus -p --authenticationDatabase admin
出力 MongoDB shell version v3.4.10
4 パスワードを入力します。
出力
connecting to: mongodb://127.0.0.1:27017/localhost
MongoDB server version: 3.4.10
5 入力use stratus
出力 switched to db stratus
6 次のコマンドを入力します> db.bootstrapProperties.updateOne( {'name': 'stratusapp.server.url'},
{$set : {'value' : "https://IP:443/ccm-web"}} )
出力 { "acknowledged" : true, "matchedCount" : 1, "modiedCount" : 1 }
7 次のコマンドを入力します > db.getCollection('bootstrapProperties').find({'name':
'stratusapp.server.url'})
出力 { "_id" : ObjectId("5b97905e48b7b7e99ad22aa6"), "name" : "stratusapp.server.url", "value" : "https://IP:443/ccm-web",
"isActive"
: true, "committed" : true }
G
244
ホスト名を IP アドレスに変更する手順