I have a centos7 VM on which I am running a rails app with this command:
rdebug-ide --host 0.0.0.0 --port 1234 --dispatcher-port 26162 -- bin/rails
s -b 0.0.0.0

The VM named "desktop" has the following httpd conf files:
/etc/httpd/conf.d/rdebug1.conf
Listen 31234 http
<VirtualHost *:31234>
  ProxyPass / http://192.168.121.10:1234/
  <Location />
    ProxyPassReverse http://192.168.121.10:1234/
  </Location>
  ProxyPreserveHost on
</VirtualHost>

/etc/httpd/conf.d/rdebug2.conf
Listen 36162 http
<VirtualHost *:36162>
  ProxyPass / http://192.168.121.10:26162/
  <Location />
    ProxyPassReverse http://192.168.121.10:26162/
  </Location>
  ProxyPreserveHost on
</VirtualHost>


On the system "laptop" I am running RubyMine remote debug with:
Remote port: 31234
Local port: 36162

There is another httpd conf file that is mapping the VM port 3000 to the
desktop port 30010 and I am able to connect to the rails app from the
laptop on http://desktop:30010.

Is there anything I am missing? I assume the httpd conf is incorrect in
some way.

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to