Skip to main content

启动服务器

在eclipse中以main函数的形式运行org.tio.showcase.http.HttpServerShowcaseStarter,能看到类似如下的日志

2018-12-28 19:53:09,907 INFO  org.tio.server.TioServer[158]: 
|----------------------------------------------------------------------------------------|
| Tio gitee address | https://github.com/tywo45/t-io |
| Tio site address | https://tiocloud.com/ |
| Tio version | 3.2.4.v20181218-RELEASE |
| ---------------------------------------------------------------------------------------|
| TioConfig name | showcase |
| Started at | 2018-12-28 19:53:09 |
| Listen on | 0.0.0.0:9326 |
| Main Class | org.tio.showcase.websocket.server.ShowcaseWebsocketStarter |
| Jvm start time | 507 ms |
| Tio start time | 1 ms |
| Pid | 19020 |
|----------------------------------------------------------------------------------------|