OVH Community, your new community space.

Open PORT 8080 on RPS (Webmin) - 'Gentoo 2006.0'


eebahoo
30-05-2009, 08:51
That's wicked - thanks for the info!

freshwire
29-05-2009, 17:19
Yes the outgoing connections are from your primary IP. The IP failover is a 'backup' for the primary IP. In most cases you will want to use the primary IP for in/out.

If you host a domain on your server consider setting 2 A records as so:

domain.com IN A 94.23.192.48
domain.com IN A 87.98.145.124

then should 1 IP be unavailable the other will kick in (or that's the idea anyway).

You can also move fail-over IP's between servers using the control panel.

eebahoo
29-05-2009, 16:39
IP fail-over: 87.98.145.124 (France)
Reverse: r24426.ovh.net
Routed to: 94.23.192.48

I think my problems were mainly due to me being new to OVH and their way of doing things.

I guess this means 87.98.145.124 is like a proxy for 94.23.192.48 or something. (Server admin is not something I know anything about but I'm on a steep learning curve!!)

freshwire
29-05-2009, 16:22
Is the 87.98.145.124 a failover IP? In my case the request is always recieved from my main server IP.

eebahoo
29-05-2009, 12:48
Hello,

Thanks for replying monkey56657. What it was in the end was that I had given the wrong IP. I thought the IP of my server, 87.98.145.124, was what the request woudl be sent from but it wasn't. The request was being received from 94.23.192.48. It was basically my fault (as always) for not realising that.

I was completely flumoxed by it thinking that the server was blocking port 8080, which it turns out through further testing was happening on the 90plan, but anyway it's resolved now.

In doing all this I disovered OVH servers which I must admit are very good and very cost effective. Also OVH tech support, even though I must have been quite annoying keep waffling about ports, answered the phone every time within 1 minute. Which was very impressive.

Anyway - thanks very much for your help
Jim

freshwire
28-05-2009, 19:39
I don't know on the gentoo/webmin site but can we just check one thing..

Run this code... does it work..

PHP Code:

$handle 
fopen('http://213.27.137.219:8080/SMSGateway/SmsGateway2Listener''r');

if (
$handle)
{
    while (!
feof($handle))
    {
        echo 
fgets($handle);
    }
}
else
{
    echo 
'the rps/firewall is at fault';
}

?>
If you get the targets source code the problem is with your curl code. If you get the 'rps/firewall is at fault' then you can continue to wait for another reply.

eebahoo
28-05-2009, 13:52
Hello,
I have a script that tried to connect via CURL to another server over port 8080.
My code is:

PHP Code:
$ch curl_init();
            
curl_setopt$chCURLOPT_URL'http://213.27.137.219/SMSGateway/SmsGateway2Listener' );
curl_setopt$chCURLOPT_PORT8080 );
curl_setopt$chCURLOPT_CONNECTTIMEOUT);

if ( 
FALSE === curl_exec$ch ) ) echo curl_error$ch ); 
My IP: 87.98.145.124 has been allowed by the firewall on the other server.

My question is how do I open port 8080 for outgoing comms using webmin?

I've tried apache webserver>global config>networking & addresses and adding a listner, but I think that's more for incoming than outgoing.

I'm not a server admin as you can probably tell so I'm on a steep learning curve.

Thanks
Jim