Thread: [Cppcms-users] Make application externally available
Brought to you by:
artyom-beilis
|
From: giovani m. <gio...@ho...> - 2014-06-04 03:46:44
|
Hello, how can i make my application externally available? For example, i can only access my app from http://localhost:8080/appBut 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. |
|
From: Artyom B. <art...@ya...> - 2014-06-04 06:14:11
|
http://cppcms.com/wikipp/en/page/cppcms_1x_config#service.ip Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ -------------------------------------------- On Wed, 6/4/14, giovani milanez <gio...@ho...> wrote: Subject: [Cppcms-users] Make application externally available To: "cpp...@li..." <cpp...@li...> Date: Wednesday, June 4, 2014, 6:46 AM Hello, how can i make my application externally available? For example, i can only access my app from http://localhost:8080/appBut 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. -----Inline Attachment Follows----- ------------------------------------------------------------------------------ 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 -----Inline Attachment Follows----- _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
|
From: Stanimir M. <sta...@zo...> - 2014-06-04 06:58:53
|
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 > |
|
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 |
|
From: Stanimir M. <sta...@zo...> - 2014-06-04 07:08:49
|
Ops, now you have all my contacts also in the signature. It was my mistake, but I hope you will use them wisely :) On Wed, Jun 4, 2014 at 9:35 AM, Stanimir Mladenov <sta...@zo...> wrote: > 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, > } > } > > > > 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 >> |
|
From: giovani m. <gio...@ho...> - 2014-06-04 11:15:21
|
Thank you guys, that did the trick =). > From: sta...@zo... > Date: Wed, 4 Jun 2014 09:38:51 +0300 > To: cpp...@li... > Subject: Re: [Cppcms-users] Make application externally available > > Ops, now you have all my contacts also in the signature. It was my > mistake, but I hope you will use them wisely :) > > > On Wed, Jun 4, 2014 at 9:35 AM, Stanimir Mladenov > <sta...@zo...> wrote: > > 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, > > } > > } > > > > > > > > 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 |