31 Dec 2018: Thank you to our knowledgeable and friendly forums users for another great year. We are aware of the uptick in spam accounts and are doing our best to ban these at first sight. Thank you for your patience!

Web Server/Hosting


I am a new user of OpenClinica community edition.  Is there a tutorial available in setting up a server that allows one to access OpenClinica and user created database from any PC with internet access?  

Thank you


  • GuppiGuppi Posts: 14
    Hello alvin.baetiong,

    Welcome to the community. 
    You can find a lot of useful information about OC installation here: https://docs.openclinica.com/installation
    After installation your tomcat instance should be available locally for other PCs using local IP address (How-to check IP address in Windows: Start - All Programs - Accessories - Command Prompt - 'ipconfig';  Linux: Terminal - 'ifconfig'). Server should be available in the internet using your external IP address (you can check it in the www.whatismyip.com website). Please note that using wifi-routes/switches require IP forwarding setup on the device admin site.
    Good luck!
  • kristiakkristiak Posts: 1,318 ✭✭✭

    .......and also make sure that your fire wall on the server is configured to let external user contact OpenClinica, then you simply type http://XXX.XXX.XXX.XXX:8080/OpenClinica  where XXX represents your IP address.

    Good luck


  • Thanks Guppi and kristiak.  I will try this out once I try to figure out another issue.  

    The PC I installed OpenClinica on was running on Windows XP and installation went smoothly.  Another PC I'm trying to install on is running on 64-bit Windows 7.  Whenever I try to verify installation by connecting to http://localhost:8080/OpenClinica, I get Access Error 404 - Cannot open document for OpenClinica.

    I've checked the logs and this part seems to be pointing to the cause of error:

    SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]
    java.net.BindException: Address already in use: JVM_Bind <null>:8080
    Caused by: java.net.BindException: Address already in use: JVM_Bind

    Is this because I'm installing OpenClinica on a PC that is  on the same network as the other one?

    For the 64-bit install I'm running 

    Windows 7
    Java SE 7 update 71 64-bit
    PostgresSQL 9.4 64-bit
    Apache Tomcat 7.0.57

    For the 32-bit install I'm running 

    Windows XP
    Java Java SE 7 update 71 32-bit
    PostgresSQL 8.4 32-bit
    Apache Tomcat 7.0.57

    Thanks again
  • GuppiGuppi Posts: 14
    edited December 2014
    Hello alvin.baetiong,

    I think there two ways:
    1. You can try to stop all 'java' processes using Windows 'Task manager' (Ctrl + Alt + Del -> Task Manager - Processes), but it can stop another java application. If 'Processes' list doesn't contain 'java' process, it can be antivirus (as I know KAV likes use this port sometimes) or something else.
    2. Change tomcat default port from 8080 to 8081 (or 8181 etc). Firstly, you need to open 'server.xml' file (c:/oc/tomcat/conf/server.xml) and find 'Connector port="8080" '. Then, replace old port for the new one (eg. 8181) and save your changes. Restart tomcat and check the URL http://localhost:8181/OpenClinica .

    Is this because I'm installing OpenClinica on a PC that is  on the same network as the other one?

    As I know OC works fine in the lan with more than one instances. 

    I hope it helps. 

  • Hello Guppi,

    Changing port from 8080 worked.  Thanks, you have been a great help.
This discussion has been closed.