• Making my OpenKM installation open to the outside world

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #27788  by hbuus
 
I've read this page:
http://wiki.openkm.com/index.php/Basic_ ... _knowledge

Where it says this:
Making OpenKM accessible from other computers

By default, Tomcat only listens for connections on localhost. If you want to access OpenKM from other computers modify the file $TOMCAT_HOME/conf/server.xml, adding the address="0.0.0.0" attribute to the Connector if it doesn't already exist.
<Connector address="0.0.0.0" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>

Windows
\bin\catalina.bat start


Upon installation of OpenKM, I checked server.xml and found that the above Connector-line is already present in it.
Therefore you shouldn't have to add anything at all to server.xml, right?
Then I ran catalina.bat as described above.
Now I run the OpenKM start-script, and my OpenKM server boots.

So far, so good.

I checked my IP-address which is x1-6-2c-b0-5d-ad-0a-ca.cpe.webspeed.dk.
To test if others can connect to my OpenKM-server, I therefore typed this in the browser:
http://x1-6-2c-b0-5d-ad-0a-ca.cpe.websp ... /login.jsp

Now the OpenKM-login screen should be displayed, right?
It doesn't.
Google Chrome says: "Oops! Couldn't make a connection to x1-6-2c-b0-5d-ad-0a-ca.cpe.webspeed.dk"

Then I tried this:
http://x1-6-2c-b0-5d-ad-0a-ca.cpe.websp ... /login.jsp

Same result.

How can that be?

I checked my firewall, and the Apache HTTP Server is on the list of programs that are allowed Public access.
Therefore it should be possible to connect to my OpenKM-server, right?

Can anyone see why it doesn't work?

Thanks!

Best,
Henrik
 #27809  by jllort
 
If from the server you can connect to ip:8080 then there's no problem with configuration. What I've seen in your server.xml seems correct. If ip:8080 is right then you got configuration network problem ( can be firewall, router or other )
 #27810  by hbuus
 
I can't connect to my own computer to ip:8080.
Then it must be my OpenKM configuration that is wrong?
What can be wrong other than the line in Server.xml, which should be correct?
Here's the line:
Code: Select all
    <Connector port="8080" address="0.0.0.0" protocol="HTTP/1.1"
               connectionTimeout="20000" redirectPort="8443" />
I tried turning off firewall in my router, but I still can't connect.

Thanks for helping with this!
 #27811  by hbuus
 
I just noticed something!

When I log on to localhost like this:
http://localhost:8080/OpenKM/login.jsp

It works!

- But when I replace localhost with my IP-number, like this:
http://188.183.140.126:8080/OpenKM/login.jsp

It doesn't work. I can't connect. Google Chrome says: "Oops! Couldn't make a connection to 188.183.140.126"

Hope this helps?
 #27829  by jllort
 
xml seems right.

When you start tomcat binding 0.0.0.0 if you execute at command line "netstat -an" do you get 0.0.0.0 binging 8080 ?
Do you see any error on start up ? catalina.log file with this configuration

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.