use an other ip than 127.0.0.1

 
Post new topic   Reply to topic    Aprelium Forum Index -> Networking Issues
View previous topic :: View next topic  
Author Message
Optalamia
-


Joined: 18 Oct 2003
Posts: 5
Location: Germany

PostPosted: Sat Oct 18, 2003 1:51 am    Post subject: use an other ip than 127.0.0.1 Reply with quote

Hi,

I use 127.0.0.1 with an other server.
Aprelium I would like to use at anoter ip like 127.0.0.2.
I didn't find something to change this.
Isn't it possible?

(I don't need access from an other computer,
just this one where it's installed)

Greetings from Germany

Optalamia
_________________
#!/usr/bin/perl
Back to top View user's profile Send private message Visit poster's website
Zelius
-


Joined: 18 Oct 2003
Posts: 2

PostPosted: Sat Oct 18, 2003 1:14 pm    Post subject: Reply with quote

I'd like a way to change this to. Any help?
Back to top View user's profile Send private message
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Sat Oct 18, 2003 8:00 pm    Post subject: Reply with quote

Don't want to access it from another PC?
Than just change the port setting on one of your servers.
http://127.0.0.1 is defaulted at port 80.
http://127.0.0.1:8080 (or whatever) is for the other server.
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Oct 19, 2003 11:32 am    Post subject: Re: use an other ip than 127.0.0.1 Reply with quote

Abyss do not control the IPs of your computer. 127.0.0.1 is for example assigned by default to any computer and refers to the local host (your computer). It cannot be changed.
You can assign other IPs by using the Networking section in the Windows Control Panel.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
JohnC
-


Joined: 09 Oct 2003
Posts: 34

PostPosted: Sun Oct 19, 2003 10:09 pm    Post subject: Reply with quote

The important thing to note is that every compuer can only have ONE x IP !

So if you have 2 servers running on one computer, then both servers have the same IP. You can set the IP for the computer, but you cannot set the IP for a certain server running on that computer !

The way to control which server you connect to is by using PORTS, like what Moxxnixx said.

JC
Back to top View user's profile Send private message
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Mon Oct 20, 2003 2:10 am    Post subject: Reply with quote

Actually on Windows NT / 2K / XP you can add more IPs to the same network card with no problems at all using the advanced TCP/IP options section...

This doesn't really help though since Abyss doesn't include any control over which interface you bind to, so you can't tell one instance of the server to run on port 80, IP 192.168.0.2 and one on 192.168.0.3 etc.

The ports idea is probably your only choice if you want to run 2 sites, however, if you only need to access it from your machine (which you seem to be saying) why are you trying to do it over http :?:
Back to top View user's profile Send private message
Optalamia
-


Joined: 18 Oct 2003
Posts: 5
Location: Germany

PostPosted: Mon Oct 20, 2003 3:22 am    Post subject: Reply with quote

JohnC wrote:
The important thing to note is that every compuer can only have ONE x IP !

So if you have 2 servers running on one computer, then both servers have the same IP. You can set the IP for the computer, but you cannot set the IP for a certain server running on that computer !


I use omniHTTPd and there you can use diffrent IP's with diffrent settings.
I use 127.0.0.1, 127.0.0.2, 127.0.0.3, 127.0.0.4, 127.0.0.9 for diffrent local directories (webpages + cgi-path's)
it works - so it should be possible at general.
I think this is diffrent to the ip of the computer ... (but I don't know the truth)


Anonymoose wrote:
however, if you only need to access it from your machine (which you seem to be saying) why are you trying to do it over http :?:


I use it to develop websites and cgi's
it's faster (ISDN) and I don't need an internet connection all the time ( = cheaper)

But now it's ok
aprelium is running well together with onmiHTTPd (-:
i changed apreliums port to 81

thanks for answers
_________________
#!/usr/bin/perl
Back to top View user's profile Send private message Visit poster's website
Zelius
-


Joined: 18 Oct 2003
Posts: 2

PostPosted: Mon Oct 20, 2003 1:59 pm    Post subject: Reply with quote

In order to access this IP from another computer, do I have to out in the server's IP or this computer's IP?

Note: I'm trying to access it through a router with a firewall in it, if that makes any difference.
Back to top View user's profile Send private message
mod77
-


Joined: 21 Oct 2003
Posts: 2
Location: ger

PostPosted: Tue Oct 21, 2003 6:18 pm    Post subject: Reply with quote

is the source code of abyss available?

i had no problem since a certain moment, abyss linked to my net-card, but know it points on localhost and i cannot change anything
Back to top View user's profile Send private message ICQ Number
Optalamia
-


Joined: 18 Oct 2003
Posts: 5
Location: Germany

PostPosted: Tue Oct 21, 2003 9:55 pm    Post subject: Reply with quote

mod77 wrote:
is the source code of abyss available?

i had no problem since a certain moment, abyss linked to my net-card, but know it points on localhost and i cannot change anything


I think somewhere on the website i did read the source code is not open
_________________
#!/usr/bin/perl
Back to top View user's profile Send private message Visit poster's website
mod77
-


Joined: 21 Oct 2003
Posts: 2
Location: ger

PostPosted: Tue Oct 21, 2003 11:11 pm    Post subject: Reply with quote

so if the code is not available, isn't it easy to create a config.file for the binding adress - and how can in this case be used a windows automatic function, although "ipconfig" doens't show the local loop
Back to top View user's profile Send private message ICQ Number
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Oct 22, 2003 3:28 pm    Post subject: Reply with quote

mod77 wrote:
so if the code is not available, isn't it easy to create a config.file for the binding adress - and how can in this case be used a windows automatic function, although "ipconfig" doens't show the local loop

Abyss binds on all available IP interfaces in its current version. This will change in the future versions.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
snake_cobra72
-


Joined: 22 Nov 2003
Posts: 8
Location: etobicoke

PostPosted: Sat Nov 22, 2003 2:26 am    Post subject: Reply with quote

you can use ur own ip address, aprelium lets u find it easy at http://www.aprelium.com/ip/
if u want to find it urself in win98 and some other windows OS go to run and type winipcfg

then find the network/dial up adapter your internet is connected to...
when u find it, click on it and the ip address should be there

you can also sign up with free dns service such as dyndns, no-ip, (their free service) im pretty sure dot.tk allows you to do it too
unless of course u wanna pay for hosting .com, .net, .ca, .org, and etc...
_________________
---------------------------
Back to top View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
root
-


Joined: 24 Nov 2003
Posts: 1
Location: USA

PostPosted: Mon Nov 24, 2003 7:20 am    Post subject: Reply with quote

Zelius wrote:
In order to access this IP from another computer, do I have to out in the server's IP or this computer's IP?

Note: I'm trying to access it through a router with a firewall in it, if that makes any difference.
:oops: I hate to ask but I have had nothing but problems attempting to get past my linksys 4 port switched wireless access point router. I managed to get to a customized error page once but I have yet to access a index.html file from the outside world. I would like very much to hear from anyone with a firewall/router issue that has successfully port forwarded to a ip/port combo that points to the server's index file.
Email me @ akiradawn831@yahoo.com (also my IM utility address).
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
CapFusion
-


Joined: 18 May 2003
Posts: 617
Location: Lost in Abyss' Dungeon

PostPosted: Thu Nov 27, 2003 1:35 am    Post subject: Reply with quote

You can not change or add your localhost (LH) IP [from 127.0.0.1, 127.0.0.2, ...3 etc.]. Windows base O.S. itself do not have this function or have some kind of routable tool / util to configure. Beside, Abyss do not have option for this feature where you can assign which localhost to use. Certain other server like Mail server may have this LH IP assignment and can bind to any or all it detect from the box.

Linux OS on the other hand do have a tool / utils to configure to route, that I was told.
_________________
CapFusion,...
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Networking Issues All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group