Re: [Cppcms-users] Make application externally available
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@ya...> - 2014-06-04 07:35:11
|
or just set service.ip to 0.0.0.0 - i.e. any address Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ -------------------------------------------- On Wed, 6/4/14, Stanimir Mladenov <sta...@zo...> wrote: Subject: Re: [Cppcms-users] Make application externally available To: "CppCMS users group" <cpp...@li...> Date: Wednesday, June 4, 2014, 9:35 AM You can read more for the configuration here http://cppcms.com/wikipp/en/page/cppcms_1x_config#service Your config.js should look something like this: { "service": { "list": [ {"ip": "127.0.0.1", "api": "http", "port": 8080}, {"ip": "192.168.0.104", "api": "http", "port": 8080}, ] }, "http": { "script_names": ["/app.fcgi"] }, "file_server" : { "enable": true, } } Поздрави, Станимир Младенов Зоун Проджектс ООД Моб: +359 888 278962 Тел: +359 2 9297595 sta...@zo... www.zoneprojects.com On Wed, Jun 4, 2014 at 6:46 AM, giovani milanez <gio...@ho...> wrote: > Hello, > how can i make my application externally available? > > For example, i can only access my app from http://localhost:8080/app > But others computer from my local network can't access > http://192.168.0.104:8080/app > > In apache we can do it by changing the httpd.conf file to something like > 'Listen *:8080' > But Im not using apache. I want to do it with the cppcms embedded web > server. > > Thanks. > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |