Server IP changed !

Status
Not open for further replies.

memphis.sod76

New Member
Messages
2
Reaction score
0
Points
0
Hi, I am using some payment gateway on my website hosted on your server. Yesterday i found that the IP is 69.175.6.118 and i request the company for configuring the payment web service. But today i found my payment service broken and when i checked about problem, i found that the IP address has changed to 69.175.6.119 !!

Is it a usual action on your free hosting plan or this time was a accident?! Can i fix this problem?

Thanks
 

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
No, that is not normal. I don't think the IP has changed, there would be an announcement if it had.

~Callum
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Both those IP's point to a non-free server, rain.x10vps.com
 

lemon-tree

x10 Minion
Community Support
Messages
1,420
Reaction score
46
Points
48
Both of those are IPs for a VPS server, of which I do not believe you are on. Your free hosting account is on Chopin, which has the IP 69.175.104.34 . I don't know where you found those IP addresses, but they certainly don't seem to be correct.
 
Last edited:

memphis.sod76

New Member
Messages
2
Reaction score
0
Points
0
* I'm using free hosting service.
* The IP 69.175.104.34 is not correct because the payment web service does not work with it.
* I found the IPs 69.175.6.118 & 69.175.6.119 with an other web service that the company gave me, and with it's result the payment web service work currectly. I put it's script for you:

PHP:
<?php
    $content = file_get_contents('http://www.zarinpal.com/labs/TestIP');
    preg_match('/(\d+)\.(\d+)\.(\d+)\.(\d+)/', $content, $matches);
    echo $matches[0];
?>
* I just want to know, this IP (69.175.6.119) will change in future or no? I can't request company to change my server IP address every day!

Thanks
 
Last edited:

lemon-tree

x10 Minion
Community Support
Messages
1,420
Reaction score
46
Points
48
Well, considering that those addresses are not actually for your server, it seems a bit odd that they do work. The chopin IP 69.175.104.34 does not change, but the other IPs may well do. Therefore, there is no guarantee that it will stop working if you are not using the correct IPs for your server.
It is possible that the chopin IP does not work for this system as it requires you to have a dedicated IP address for your site, in which case you may need to switch to a paid scheme. You may have stumbled upon an IP address for a VPS user, in which case you shouldn't be using their IP for your site, as you have no access to it.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Artifact of the load balancing set up.

The nginx front end (chopin) has one IP. The server it sends the request to has another.

On Boru, the environmental variable SERVER_ADDR = 69.175.6.116 which is on an x10vps.com machine.

REMOTE_ADDR = 69.175.121.66 , which is the IP for Boru.

HTTP_X_FORWARDED_FOR = 130.65.11.68 , which is where my laptop is.

SERVER_ADDR will vary from time to time.

Seems like you just have to adjust your scripts.
 
Status
Not open for further replies.
Top