Re: [Cppcms-users] system: Address already in use
Brought to you by:
artyom-beilis
|
From: Artyom <art...@ya...> - 2010-08-21 09:03:42
|
>p4:/usr/src/cppcms-0.99.2.1/examples/hello_world# cppcms_run hello -c config.js
>
>Web Server Port:8080
>Api:http
>Service IP:127.0.0.1
>Service Port:8080
>Server:/usr/sbin/apache2 -f
You are running with cppcms_run an application via HTTP proxy (i.e. api:http)
but by
default the application uses 8080 and so apache uses 8080 - you can't do this.
You need either:
1. Use cppcms's internal web server so you need to run
./hello -c config.js
without cppcms_run at all.
2. Use fastcgi, scgi over unix socket or fcgi/scgi/http over TCP/IP port
different from web server's one.
Artom
|