wthttp start server twice
Added by Pomin Shih over 3 years ago
Hi,
I have met a problems these days. My application start server twice with address [::1].
I have tried reinstall. but the results is the same.
The information is as follows.
Some setting has been changed in some config files?
D:\01_Tool\Wt_4.2.1\lib\Wt\examples\hello>hello.wt.exe ---http-address localhost ---htto-port 8080 ---docroot .
[2020-Aug-21 11:01:02.458] 22148 - [info] "WServer/wthttp: initializing built-in wthttpd"
[2020-Aug-21 11:01:02.525] 22148 - [info] "wthttp: started server: http://127.0.0.1:80 (localhost)"
[2020-Aug-21 11:01:02.526] 22148 - [info] "wthttp: started server: http://[::1]:80 (localhost)"
Replies (3)
RE: wthttp start server twice - Added by Pomin Shih over 3 years ago
D:\01_Tool\Wt_4.2.1\lib\Wt\examples\hello>hello.wt.exe ---http-address localhost ---htto-port 8080 ---docroot .
Set localhost to ipv4 address 0.0.0.0 to avoid launch ipv6 address
RE: wthttp start server twice - Added by Mathimaaran Selvam over 3 years ago
Hi,
Is this a typo or does this mean something?
---htt*o*-port
Thanks,
Mathi.