Change port 80 to 8080

2008-05-22
2013-05-01
  • Shaun White
    Shaun White
    2008-05-22

    Hello

    I would like to know is there a process for changing the new CentOS virtual machine default port from port 80 to 8080 or really any port other then 80? I changed to 8080 and had it working but it then broke the desktop sharing. Is there a process to change the port and NOT break the desktop sharing?

    Thanks

     
    • Hello,

      Please follow the exact steps as mentioned below to make the changes for port and let me know if you are facing with any issues.

      Note that you cannot use ports 8080 / 9090 / 1935 / 8088 / 4000 / 8100 as these ports are used by Dimdim Components.

      Follow the instructions carefully and change only the files / lines provided below:

      1. Open lighttpd.conf located under /usr/local/dimdim/Mediaserver/mods/

          vi /usr/local/dimdim/Mediaserver/mods/lighttpd.conf and
            
          change the following from

          ## bind to port (default: 80)
          server.port  = 80

          to
            
          ## bind to port (default: 80)
          server.port  = YOUR_AVAILABLE_PORT
           
      2. Open dimdim.properties located under /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources/

          vi /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources/dimdim.properties
         
          change the following from
         
          a.   
              dimdim.serverPortNumber=80
         
                  to
         
              dimdim.serverPortNumber=YOUR_AVAILABLE_PORT
             
          b.
              dimdim.dmsServerAddress=SERVER_ADDRESS:80
             
                  to
             
              dimdim.dmsServerAddress=SERVER_ADDRESS:YOUR_AVAILABLE_PORT
             
         
          c.   
              dimdim.dmsServerInternalAddress=localhost:80
             
                  to
             
              dimdim.dmsServerInternalAddress=localhost:YOUR_AVAILABLE_PORT
         
         
      3. Open streaming.properties located under /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources/

          vi /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources/streaming.properties
         
          change the following from
         
          streaming_server.2.rtmp_url=http://SERVER_ADDRESS/screenshare/
          streaming_server.2.rtmpt_url=http://SERVER_ADDRESS/screenshare/
          streaming_server.2.max_number_of_streams=-1
          streaming_server.2.supported_stream_types=DTP

                  to
                 
          streaming_server.2.rtmp_url=http://SERVER_ADDRESS:YOUR_AVAILABLE_PORT/screenshare/
          streaming_server.2.rtmpt_url=http://SERVER_ADDRESS:YOUR_AVAILABLE_PORT/screenshare/
          streaming_server.2.max_number_of_streams=-1
          streaming_server.2.supported_stream_types=DTP

      Regards,
      -Rajesh
      rajesh@dimdim.com

       
    • Shaun White
      Shaun White
      2008-05-22

      Rajesh

      Thank you...i have made the changes replacing port 80 with port 8000 and it seems to work fine internally...But when i hit it externally i get the login page...i start a meeting then the center screen comes up page cant be displayed and the audio connection fails.

      Im allowing port 8000 and 1935 through my firewall. I do not see any drops/denies in the firewall logs

      Any ideas?

      Thanks

       
    • Hi,

      Thanks for the updates. Could you please let me know the outputs for the following for the Dimdim server machine:

      1. status of Dimdim components from Dimdim Admin Console
      2. ps -aef | grep python
      3. ps -aef | grep red5
      4. telnet to port 1935 from the machine where you are trying to start the meeting.

      Regards,
      -Rajesh

       
    • Shaun White
      Shaun White
      2008-05-22

      Rajesh

      I can connect to port 1935 through the firewall no problem...

      Here is the output you asked for

      [root@localhost ~]# ps -aef | grep python
      root      1654  1652  0 May21 ?        00:00:00 python /sbin/audispd
      root      2037     1  0 May21 ?        00:00:00 /usr/bin/python /usr/bin/zdaemon -S schema.xml -b 10 -s zdsock -m 022 -x 0,2 python /usr/local/dimdim/Mediaserver/mods/interface.py
      root      2039  2037  0 May21 ?        00:00:38 python /usr/local/dimdim/Mediaserver/mods/interface.py
      [root@localhost ~]# ps -aef | grep red5
      root      2040     1  0 May21 ?        00:02:54 /usr/java/jdk1.6.0_01/bin/java -Djava.security.manager -Djava.security.policy=/usr/local/dimdim/red5/conf/red5.policy -cp /usr/local/dimdim/red5/red5.jar:/usr/local/dimdim/red5/conf: org.red5.server.Standalone
      root     23105 22421  0 03:24 pts/0    00:00:00 grep red5
      [root@localhost ~]#

      Thanks

       
    • Shaun White
      Shaun White
      2008-05-22

      Rajesh

      Also to add, the desktop sharing doesnt work internally either. But everything else seems to function OK...the audio works all the screens come up....but again externally the audio doesnt work, sharing doesnt work...and the mainscreen says page cant be displayed

      thanks for your help!

       
    • Hi,

      Could you please let me know if the external address and internal address for accessing the machine (where Dimdim server installed) is different?

      If so please login to the Dimdim Admin Console, change the ip address to external ip address and restart Dimdim Server. By this way you will be able to access Dimdim from outside.

      Regards,
      -Rajesh
      rajesh@dimdim.com

       
    • Shaun White
      Shaun White
      2008-05-23

      Rajesh

      They are on the same box for internal an external

       
    • Hi,

      Could you please drop me the wrapper.log available under /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/logs/?

      Regards,
      -Rajesh
      rajesh@dimdim.com

       
    • Hi,

      Could you please email me the files that you have modified for port along with wrapper.log?

      Regards,
      -Rajesh
      rajesh@dimdim.com

       
    • Shaun White
      Shaun White
      2008-05-27

      Rajesh

      I have emailed you the files

      Thanks

      Shaun

       
    • Hi Shaun,

      I received your files. I will check and let you know the updates.

      Regards,
      -Rajesh
      rajesh@dimdim.com

       
    • Hi Shaun,

      From the initial look up of the files that you have sent,

      In dimdim.properties, the port for the following is not changed to 8000

      Snippet:
      dimdim.dmsServerAddress=***********:80
      dimdim.dmsServerInternalAddress=localhost:80

      This should be :
      dimdim.dmsServerAddress=***********:8000
      dimdim.dmsServerInternalAddress=localhost:8000

      If you are changing the ports, please follow the above instructions carefully and change the ports.

      Regards,
      -Rajesh
      rajesh@dimdim.com

       
    • Hi Shaun,

      Similarly in streaming.properties.

      Snippet:
      streaming_server.2.rtmp_url=http://**************/screenshare/
      streaming_server.2.rtmpt_url=http://*************/screenshare/

      This shd be:
      streaming_server.2.rtmp_url=http://**************:8000/screenshare/
      streaming_server.2.rtmpt_url=http://*************:8000/screenshare/

      After these changes, restart the Dimdim server and let me know the updates.

      Regards,
      -Rajesh
      rajesh@dimdim.com

       
    • Shaun White
      Shaun White
      2008-05-29

      Rajesh,

      All works internally just fine...when i access it from the external side...i can log in, but get page cant be displayed on the spalsh page...and it never asks me if i want to share desktop or white board or presentation...

      I verified nothing is being blocked by the firewall...there are no drops everything is permitted.

      Thanks

      Shaun

       
    • Hi Shaun,

      Please refer to the forum post https://sourceforge.net/forum/forum.php?thread_id=2053015&forum_id=611233 for the above query.

      Regards,
      -Rajesh
      rajesh@dimdim.com

       
    • Shaun White
      Shaun White
      2008-05-30

      Rajesh

      I did that...the splash screen now comes up...however i still get connection failed for audio and desktop sharing...

      Any ideas

      Thanks

       
    • sandro polli
      sandro polli
      2008-06-03

      hi,
      probably this help give you a solution...
      i made this and now it works :

      - vi /usr/local/dimdim/Mediaserver/mods/lighttpd.conf and leave port 80 not 81
        
      then

      vi /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources/dimdim.properties

      dimdim.ServerAddress=SERVER_ADDRESS
      dimdim.serverPortNumber=81
      dimdim.dmsServerAddress=SERVER_ADDRESS:81
      dimdim.dmsServerInternalAddress=localhost:81

      then
      - vi /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources/streaming.properties

      and modifiy port from 80 to 81

      streaming_server.2.rtmp_url=http://SERVER_ADDRESS:81/screenshare/
      streaming_server.2.rtmpt_url=http://SERVER_ADDRESS:81/screenshare/
      streaming_server.2.max_number_of_streams=-1
      streaming_server.2.supported_stream_types=DTP

      locate server.xml and modify port on 81

      restart dimdim and go to http://SERVER_ADDRESS:81/dimdim
      * NOTE if made this cherrypy dont give error for / at final...

      Control port 443 and 1935
      The dimdim start well

       
    • Shaun White
      Shaun White
      2008-06-03

      sandro

      i dont want my dimdim to run on 81 thought i want it to run on 8000....what you have listed is the same thing Rajesh had me do (except the server.xml file)...

      currently its working with port 8000...except externally i cant get audio or desktop sharing to work

      Thanks

       
    • Shaun White
      Shaun White
      2008-06-05

      Rajesh

      Any ideas here as to why my desktop sharing and audio doesnt work externally?

      Thanks

      Shaun

       
    • Hi Shaun,

      Is your internal and external ip addresses different? If so, please go to Dimdim Admin Console, change the ip address to external ip address and restart Dimdim.

      Please let me know if this solves your problem.

      Regards,
      -Rajesh
      rajesh@dimdim.com