- Posts: 10
Source IP not allowed:
- Ajay Salanky
- Topic Author
- Offline
- New Member
-
Less
More
14 years 1 month ago #1
by Ajay Salanky
Source IP not allowed: was created by Ajay Salanky
Getting this error "Source IP not allowed:" in spite of putting the IP that gets displayed into the configuration settings.
the IP that gets displayed is 117.213.181.66 which happens to be my Internet Service providers router setting IP
Tried using the localhost IP 127.0.0.1 in the Moodle url setting in Joomla also changed the Joomal URL setting with the same IP, still no luck.
same setup working absolutely fine on hostgator servers (offcourse with the necessary url setting etc), i now need to modify the theme, so trying to set up on the local server
I am using Xampp 1.7.7
On a Windows 7 machine
Moodle 2.2
Joomla 1.7
Joomdle R07
can anyone tell me if i am doing anything wrong.
thanks
Ajay
the IP that gets displayed is 117.213.181.66 which happens to be my Internet Service providers router setting IP
Tried using the localhost IP 127.0.0.1 in the Moodle url setting in Joomla also changed the Joomal URL setting with the same IP, still no luck.
same setup working absolutely fine on hostgator servers (offcourse with the necessary url setting etc), i now need to modify the theme, so trying to set up on the local server
I am using Xampp 1.7.7
On a Windows 7 machine
Moodle 2.2
Joomla 1.7
Joomdle R07
can anyone tell me if i am doing anything wrong.
thanks
Ajay
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
14 years 4 weeks ago #2
by Chris
Replied by Chris on topic Re: Source IP not allowed:
I assume both Joomla and Moodle are on your internal local PC. Using the IP defined by your ISP would not be correct as this is the IP that gets assigned to your router. Your PC should also have an IP defined by your router assuming you have DHCP set up. Usually it is something like 192.168.x.y depending on the brand of your router.
You may wish to enter 0.0.0.0/0 in moodle for allowable IP addresses. Note this is not secure as it allows everybody in but since you are local and behind a firewall it shouldn't matter too much. If you do this what happens?
For me, I run on Windows 7 too, I use Uniserver rather than xampp (shouldn't matter), I define a domain in my local hosts file eg testing.com to be 127.0.0.1 and then I always use testing.com in my urls. I also define www.testing.com to be 127.0.0.1. The only downside of this is that I can never go to the real testing.com website (no big deal for me).
Also try avoid using localhost under windows 7 due to IP V4. Many applications are not really geared up for IP V and when attempting to find localhost get confused and time out. For ex. akeebackup will have problems restoring to localhost under windows 7.
You may wish to enter 0.0.0.0/0 in moodle for allowable IP addresses. Note this is not secure as it allows everybody in but since you are local and behind a firewall it shouldn't matter too much. If you do this what happens?
For me, I run on Windows 7 too, I use Uniserver rather than xampp (shouldn't matter), I define a domain in my local hosts file eg testing.com to be 127.0.0.1 and then I always use testing.com in my urls. I also define www.testing.com to be 127.0.0.1. The only downside of this is that I can never go to the real testing.com website (no big deal for me).
Also try avoid using localhost under windows 7 due to IP V4. Many applications are not really geared up for IP V and when attempting to find localhost get confused and time out. For ex. akeebackup will have problems restoring to localhost under windows 7.
Please Log in or Create an account to join the conversation.
- Ajay Salanky
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
14 years 3 weeks ago #3
by Ajay Salanky
Replied by Ajay Salanky on topic Re: Source IP not allowed:
Thanks Chris, will try your suggestions and update you on how it goes.
Ajay
Ajay
Please Log in or Create an account to join the conversation.