Open kosir opened 9 years ago
I just found answer on the web: http://root-project.org/2014/07/09/work/ungit-on-cloud9/ I tested that and it's working fine, so consider this solved. Thanks. BR
It's really cewl to see ungit being used by people and c9 installation guide is out there for people to use.
Cheers!
.Now I have another problem: from http://root-project.org/2014/07/09/work/ungit-on-cloud9/: KNOWN ISSUES Cloud9 only have a single port that is exposed to the internet which is internally set to 8080. For some reason it's not possible to expose multiple services at once which means you have to stop any other web application before you can launch ungit.
I would like to have ungit open when working with wordpress (apache) or meteor stuff. I tried some proxy/reverse proxy solutions, but none worked. If someone have experience how to solve this, please let me know.
That sounds more like a limitation with Cloud9 than with Ungit. Though I suppose you could set up a web server running on 8080 which forwards to Ungit running on a different port.
Does ungit allow itself to be served from a URL that's not on the root of the server?
@Ajedi32 To answer the second question: Not really. Ungit creates its own http server, which then serves it from a port. Maybe if you use some proxy, but I have a vague memory of someone trying this and having problems with the way files were served (they assumed absolute path I think). Probably something that's not too hard to fix but haven't had the time to try it out.
@kosir I have to agree with the other guys here that it's really awesome you're trying this out! I'm not sure what the c9 policy is on ports. @javruben might have some more insights? Maybe asking nicely is all it takes to open another port ;)
@kosir, @FredrikNoren We have multiple ports in the workspace on the roadmap. The plan is to open up 5 ports in total. This is however more likely to happen in Q2 than Q1. Another solution is to configure apache to proxy to both your web server as well as ungit. That way you could use both on a single port. I hope this helps!
@javruben thanks!
So if #313 gets fixed, I'm assuming you could just use a reverse proxy/http server like Nginx to forward requests under a subpath like /ungit
to ungit.
@javruben @FredrikNoren Thanks to all of you. It's good to know that it's on the road-map.
I think you can create a page within wordpress that opens up 127.0.0.1:[ungit-port]. So essentially using wordpress as a proxy while ungit is running on the background.
Now this assumes c9 is allowing loopback connection to ports other then 8080.
@codingtwinky we do. You can open any port on the loopback device.
Hi, I'd really like to use ungit on my cloud9 development environment, but no success. Can you please look at c9.io why this is happening? Webpage says "The server refused the connection". I tried localhost, ip, no success. Thanks.