Skip to content

Commit 84f7c1c

Browse files
committed
fix doc for web interface -> -p 8080 and add test to verify with curl
1 parent 68656b4 commit 84f7c1c

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,22 @@ docker run -d -p 49160:22 -p 49161:1521 -e ORACLE_DISABLE_ASYNCH_IO=true wnamele
3737

3838
For XDB user, run this:
3939
```
40-
docker run -d -p 49160:22 -p 49161:1521 -e ORACLE_ENABLE_XDB=true wnameless/oracle-xe-11g
40+
docker run -d -p 49160:22 -p 49161:1521 -p 8080:8080 -e ORACLE_ENABLE_XDB=true wnameless/oracle-xe-11g
4141
```
42+
43+
Check if localhost:8080 work
44+
```
45+
curl -XGET "http://localhost:8080"
46+
```
47+
You will show
48+
```
49+
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
50+
<HTML><HEAD>
51+
<TITLE>401 Unauthorized</TITLE>
52+
</HEAD><BODY><H1>Unauthorized</H1>
53+
</BODY></HTML>
54+
```
55+
4256
```
4357
# Login http://localhost:8080 with following credential:
4458
username: XDB

0 commit comments

Comments
 (0)