Service not working on closed 8080

Hello guys, I'm having a problem with ODK, or maybe it isn't even a problem.
I installed a service on my linux server which is working using the port 80.
I also set up another host using a Apache Tomcat build where ODK is
installed.
If I try to upload data to my ODK application when port 8080 is closed it
isn't working and I can only do it from the same internal network.
If I try to upload data to ODK when port 8080 is *open *the application
just works good.
Is it a problem that I can solve or is it just how ODK actually works?

What if I setup Tomcat (and ODK) using port 80? Can I use two services on
the same port?
I need a way to use that first service plus ODK on the same server keeping
the port 80 open only.
Thank you.

Cristiano,

Different web services need to run on different ports. There is no way
around it.

Yaw

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Tue, Sep 6, 2016 at 6:58 AM, Cristiano Ceccarelli crilose99@gmail.com wrote:

Hello guys, I'm having a problem with ODK, or maybe it isn't even a problem.
I installed a service on my linux server which is working using the port 80.
I also set up another host using a Apache Tomcat build where ODK is
installed.
If I try to upload data to my ODK application when port 8080 is closed it
isn't working and I can only do it from the same internal network.
If I try to upload data to ODK when port 8080 is open the application just
works good.
Is it a problem that I can solve or is it just how ODK actually works?

What if I setup Tomcat (and ODK) using port 80? Can I use two services on
the same port?
I need a way to use that first service plus ODK on the same server keeping
the port 80 open only.
Thank you.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thank you.

··· Il giorno martedì 6 settembre 2016 14:41:53 UTC+2, Yaw Anokwa ha scritto: > > Cristiano, > > Different web services need to run on different ports. There is no way > around it. > > Yaw > -- > Need ODK consultants? Nafundi provides form design, server setup, > in-field training, and software development for ODK. Go to > https://nafundi.com to get started. > > On Tue, Sep 6, 2016 at 6:58 AM, Cristiano Ceccarelli <cril...@gmail.com > wrote: > > Hello guys, I'm having a problem with ODK, or maybe it isn't even a > problem. > > I installed a service on my linux server which is working using the port > 80. > > I also set up another host using a Apache Tomcat build where ODK is > > installed. > > If I try to upload data to my ODK application when port 8080 is closed > it > > isn't working and I can only do it from the same internal network. > > If I try to upload data to ODK when port 8080 is open the application > just > > works good. > > Is it a problem that I can solve or is it just how ODK actually works? > > > > What if I setup Tomcat (and ODK) using port 80? Can I use two services > on > > the same port? > > I need a way to use that first service plus ODK on the same server > keeping > > the port 80 open only. > > Thank you. > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > --- > > You received this message because you are subscribed to the Google > Groups > > "ODK Community" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to opendatakit...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >

If you are using an Apache HTTPD server ( https://httpd.apache.org/ ) or
some other web server ( https://en.wikipedia.org/wiki/Web_server ) you can
configure it to proxy traffic under some path within that server's URL tree
to your Apache Tomcat server.

This is often done in production systems, since Apache HTTPD is very nearly
bullet-proof.

https://httpd.apache.org/docs/current/mod/mod_proxy.html

To do that, it is easiest to have the URL path on your main server match
the URL path on Tomcat.

So if you proxy /aggregate on your Apache HTTPD server, you would rename
the .war file for Tomcat to aggregate.war and will have specified the
hostname and port used by the Apache HTTPD server when running the ODK
Aggregate installer.

··· On Tue, Sep 6, 2016 at 6:06 AM, Cristiano Ceccarelli wrote:

Thank you.

Il giorno martedì 6 settembre 2016 14:41:53 UTC+2, Yaw Anokwa ha scritto:

Cristiano,

Different web services need to run on different ports. There is no way
around it.

Yaw

Need ODK consultants? Nafundi provides form design, server setup,
in-field training, and software development for ODK. Go to
https://nafundi.com to get started.

On Tue, Sep 6, 2016 at 6:58 AM, Cristiano Ceccarelli cril...@gmail.com wrote:

Hello guys, I'm having a problem with ODK, or maybe it isn't even a
problem.
I installed a service on my linux server which is working using the
port 80.
I also set up another host using a Apache Tomcat build where ODK is
installed.
If I try to upload data to my ODK application when port 8080 is closed
it
isn't working and I can only do it from the same internal network.
If I try to upload data to ODK when port 8080 is open the application
just
works good.
Is it a problem that I can solve or is it just how ODK actually works?

What if I setup Tomcat (and ODK) using port 80? Can I use two services
on
the same port?
I need a way to use that first service plus ODK on the same server
keeping
the port 80 open only.
Thank you.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com