Skip to content

Commit afc711d

Browse files
committed
Switch to using port 8080 (instead of 8081).
Fix GH #85 (cherry picked from commit e040c73) Conflicts: README.md src/main/config/test-override-web.xml
1 parent 5a0e7d4 commit afc711d

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ If you are programmer/sysadmin or you just feeling that you are able to run loca
2727
* install Maven
2828
* clone this project
2929
* from the console inside the directory with source code, execute command `mvn spring-boot:run`
30-
* open up `http://127.0.0.1:8081` in the browser
30+
* open up `http://127.0.0.1:8080` in the browser
3131
* browse the site or log in as one of the pre-created users: `admin` / `test` or `coder` / `test`
3232
* press `Ctrl-C` to stop the server
3333

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<fest.assert.version>2.0M8</fest.assert.version>
5050

5151
<jetty.host>127.0.0.1</jetty.host>
52-
<jetty.port>8081</jetty.port>
52+
<jetty.port>8080</jetty.port>
5353

5454
<compiler.plugin.version>3.2</compiler.plugin.version>
5555
<resources.plugin.version>2.7</resources.plugin.version>

src/main/java/ru/mystamps/web/Url.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public final class Url {
3333
public static final String PUBLIC_URL = "http://my-stamps.ru";
3434

3535
// defined at pom.xml (and used by functional tests only)
36-
public static final String SITE = "http://127.0.0.1:8081";
36+
public static final String SITE = "http://127.0.0.1:8080";
3737

3838
public static final String INDEX_PAGE = "/";
3939
public static final String ROBOTS_TXT = "/robots.txt";

src/main/java/ru/mystamps/web/support/h2/H2Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class H2Config {
3232

3333
/* Web console for managing H2 database.
3434
*
35-
* Access it via http://127.0.0.1:8081/console and use "org.h2.Driver" as the driver,
35+
* Access it via http://127.0.0.1:8080/console and use "org.h2.Driver" as the driver,
3636
* "jdbc:h2:mem:mystamps" as the URL, "sa" as the username and a blank password.
3737
*/
3838
@Bean

src/main/java/ru/mystamps/web/support/togglz/TogglzConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public FeatureManager getFeatureManager() {
5050

5151
/* Web console for managing Togglz.
5252
*
53-
* Access it via http://127.0.0.1:8081/togglz after authentication as "admin" user.
53+
* Access it via http://127.0.0.1:8080/togglz after authentication as "admin" user.
5454
*
5555
* @see http://www.togglz.org/documentation/admin-console.html
5656
*/

src/main/resources/application.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
server.port: 8081
2-
31
spring.profiles.active: test
42

53
spring.main.show-banner: false

0 commit comments

Comments
 (0)