瀏覽代碼

Update README.md

Git-Leon 6 年之前
父節點
當前提交
671a3d2c35
沒有帳戶連結到提交者的電子郵件
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      README.md

+ 3
- 1
README.md 查看文件

@@ -135,8 +135,10 @@ public ResponseEntity<Iterable<Poll>> getAllPolls() {
135 135
 * Ensure that the `start-class` tag in your `pom.xml` encapsulates `io.zipcoder.springdemo.QuickPollApplication`
136 136
 * Open a command line and navigate to the project's root directory and run this command:
137 137
 	* `mvn spring-boot:run`
138
-* Launch the [Postman](https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en) app in your Chrome browser and enter the URL `http://localhost:8080/polls` and hit Send.
138
+* Launch the [Postman](https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en) app and enter the URI `http://localhost:8080/polls` and hit Send.
139 139
 * Because we don’t have any polls created yet, this command should result in an empty collection.
140
+* If your application cannot run because something is occupying a port, use this command with the respective port number specified:
141
+	* ``kill -kill `lsof -t -i tcp:8080``
140 142
 
141 143
 
142 144