Re: looking for a client interface
Ivan Eggel <[email protected]> Thu, 31 Mar 2011 15:13:28 +0200
| Newsgroups | gmane.comp.gnu.gift.general |
|---|---|
| Message-ID | <[email protected]> |
--===============1813087737== Content-Type: multipart/alternative; boundary=e0cb4e43d309248c74049fc70f60 --e0cb4e43d309248c74049fc70f60 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear Laura In order to use that interface you need to open the port (Port used by gift= , e.g. 12000) in your internal (if any) as well as external (if any) firewall. If you use a NAT device (router) you also need to configure a port forwarding that connects all requests from external networks to the specified port (e.g. 12000) to the local IP adress of your machine (e.g. 192.168.1.2) Cheers Ivan On Thu, Mar 31, 2011 at 3:06 PM, Laura Chimera <[email protected]> wrote: > Dear Henning, > > my computer is connected to the internet > so I tried the interface at medgift.unige.ch, > I try to connect to my gift server running in localhost (I tried both > 127.0.0.1 and localhost) > but what I get is > Connection refused (111) > and no response from the server > - is something else supposed to happen? am I doing it wrong? > > grtjz, > > Laura > > On 31 March 2011 07:53, Henning m=FCller <[email protected]> wrote: > >> Dear Laura, >> >> is your PC accessible from the Internet? Maybe you can test it from the >> Interface at http://medgift.unige.ch/demo/ >> >> We can extract this code for you which should be very similar to the cod= e >> of the PHP Interface you tried. Usually when adapting some pathes and sm= all >> modifications for changes in PHP this Interface should work. >> >> What was the exact problem when you tried these interfaces? >> >> What were the problems with the perl scripts for the querying? For me th= ey >> have always worked, although the parameters are a bit cumbersome to add. >> >> I think that Wolfgang also had a python interface. >> >> Cheers, Henning >> >> >> On 3/30/11 8:23 PM, Laura Chimera wrote: >> >>> Hello, my name is Laura, >>> I'm developing a python project I was hoping to integrate with some of >>> GIFT functions. >>> My question is very simple: I have installed gift on my Ubuntu 10.10 >>> machine, I've added a new collection no problem, and I am able to start >>> the gift server... now I need an interface to work with the server. >>> The Client.php file provided with the sources is not working, I've >>> looked online for alternatives and, I've tried >>> http://medgift.unige.ch/PHP_GIFT-stable.tar, >>> http://viper.unige.ch/research/projects/GIFT/Charmer-0.2b.tgz and >>> http://viper.unige.ch/demo/php//ViperPHPInterface/./tar/./gz; none of >>> them are working for me./ >>> / >>> / >>> /Does anyone of you have suggestions on what to use as an interface to >>> the gift server?/ >>> / >>> / >>> / >>> >>> / >>> >>> >>> >>> _______________________________________________ >>> help-GIFT mailing list >>> [email protected] >>> http://lists.gnu.org/mailman/listinfo/help-gift >>> >> > > _______________________________________________ > help-GIFT mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-gift > --e0cb4e43d309248c74049fc70f60 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear Laura<div><br></div><div>In order to use that interface you need to op= en the port (Port used by gift, e.g. 12000) in your internal (if any) as we= ll as external (if any) firewall.=A0</div><div>If you use a NAT device (rou= ter) you also need to configure a port forwarding that connects all request= s from external networks to the specified port (e.g. 12000) to the local IP= adress of your machine (e.g. 192.168.1.2)</div> <div><br></div><div>Cheers Ivan</div><div><br><div class=3D"gmail_quote">On= Thu, Mar 31, 2011 at 3:06 PM, Laura Chimera <span dir=3D"ltr"><<a href= =3D"mailto:[email protected]">[email protected]</a>></span> wrote:<br>= <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;"> <font face=3D"arial,helvetica,sans-serif">Dear Henning,</font><div><font fa= ce=3D"arial,helvetica,sans-serif"><br></font></div><div><font face=3D"arial= ,helvetica,sans-serif">my computer is connected to the internet</font><div>= <font face=3D"arial,helvetica,sans-serif">so I tried the interface at <a hr= ef=3D"http://medgift.unige.ch" target=3D"_blank">medgift.unige.ch</a>,</fon= t></div> <div><font face=3D"arial,helvetica,sans-serif">I try to connect to my gift = server running in localhost (I tried both 127.0.0.1 and localhost)</font></= div><div><font face=3D"arial,helvetica,sans-serif">but what I get is</font>= </div> <span style=3D"font-family:Verdana, Tahoma, Arial, sans-serif;font-size:11p= x">Connection refused (111)</span><div><font face=3D"arial, helvetica, sans= -serif">and no response from the server</font></div> <div><font face=3D"arial, helvetica, sans-serif">- is something else suppos= ed to happen? am I doing it wrong?</font></div><div><font face=3D"arial, he= lvetica, sans-serif"><br> </font></div><div><font face=3D"arial, helvetica, sans-serif">grtjz,<br><br= >Laura=A0</font></div><div><div><br><div class=3D"gmail_quote">On 31 March = 2011 07:53, Henning m=FCller <span dir=3D"ltr"><<a href=3D"mailto:hennin= [email protected]" target=3D"_blank">[email protected]</a>></span>= wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex">Dear Laura,<br> <br> is your PC accessible from the Internet? Maybe you can test it from the Int= erface at <a href=3D"http://medgift.unige.ch/demo/" target=3D"_blank">http:= //medgift.unige.ch/demo/</a><br> <br> We can extract this code for you which should be very similar to the code o= f the PHP Interface you tried. Usually when adapting some pathes and small = modifications for changes in PHP this Interface should work.<br> <br> What was the exact problem when you tried these interfaces?<br> <br> What were the problems with the perl scripts for the querying? For me they = have always worked, although the parameters are a bit cumbersome to add.<br= > <br> I think that Wolfgang also had a python interface.<br> <br> Cheers, Henning<div><div></div><div><br> <br> On 3/30/11 8:23 PM, Laura Chimera wrote:<br> </div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo= rder-left:1px #ccc solid;padding-left:1ex"><div><div></div><div> Hello, my name is Laura,<br> I'm developing a python project I was hoping to integrate with some of<= br> GIFT functions.<br> My question is very simple: I have installed gift on my Ubuntu 10.10<br> machine, I've added a new collection no problem, and I am able to start= <br> the gift server... now I need an interface to work with the server.<br> The Client.php file provided with the sources is not working, I've<br> looked online for alternatives and, I've tried<br> <a href=3D"http://medgift.unige.ch/PHP_GIFT-stable.tar" target=3D"_blank">h= ttp://medgift.unige.ch/PHP_GIFT-stable.tar</a>,<br> <a href=3D"http://viper.unige.ch/research/projects/GIFT/Charmer-0.2b.tgz" t= arget=3D"_blank">http://viper.unige.ch/research/projects/GIFT/Charmer-0.2b.= tgz</a> and<br> <a href=3D"http://viper.unige.ch/demo/php//ViperPHPInterface/./tar/./gz" ta= rget=3D"_blank">http://viper.unige.ch/demo/php//ViperPHPInterface/./tar/./g= z</a>; none of<br> them are working for me./<br> /<br> /<br> /Does anyone of you have suggestions on what to use as an interface to<br><= /div></div> the gift server?/<br> /<br> /<br> /<div><br> /<br> <br> <br> <br> _______________________________________________<br> help-GIFT mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a= ><br> <a href=3D"http://lists.gnu.org/mailman/listinfo/help-gift" target=3D"_blan= k">http://lists.gnu.org/mailman/listinfo/help-gift</a><br> </div></blockquote> </blockquote></div><br></div></div></div> <br>_______________________________________________<br> help-GIFT mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"http://lists.gnu.org/mailman/listinfo/help-gift" target=3D"_blan= k">http://lists.gnu.org/mailman/listinfo/help-gift</a><br></blockquote></di= v><br></div> --e0cb4e43d309248c74049fc70f60-- --===============1813087737== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-GIFT mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gift --===============1813087737==--