From 4687e7c619c20f7dafef100aa405aad5d88037d2 Mon Sep 17 00:00:00 2001 From: paderlol Date: Sat, 16 Oct 2021 22:39:10 +0800 Subject: [PATCH] Fixed Readme error #214 #214 --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 60d0f67..73a6f31 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ This project contains a Docker image meant to facilitate the deployment of [Naco ## Quick Start ```shell -docker run --name nacos-quick -e MODE=standalone -p 8849:8848 -d nacos/nacos-server:2.0.2 +docker run --name nacos-quick -e MODE=standalone -p 8848:8848 -p 9848:9848 -d nacos/nacos-server:2.0.2 ``` @@ -71,7 +71,8 @@ Run the following command: * Service registration ```powershell - curl -X PUT 'http://127.0.0.1:8848/nacos/v1/ns/instance?serviceName=nacos.naming.serviceName&ip=20.18.7.10&port=8080' + curl -X POST 'http://127.0.0.1:8848/nacos/v1/ns/instance?serviceName=nacos.naming.serviceName&ip=20.18.7.10&port=8080' + ``` * Service discovery