Getting the local IP


#1

Hi,

In the request object you can get the local domain name using a method
similar to this:
domain_name = @request.domain

I looked high and low and can’t seem to find a way to get the the actual
ip number of that domain.

Does any one have any ideas?

Joe


#2

Joe C. wrote:

Hi,

In the request object you can get the local domain name using a method
similar to this:
domain_name = @request.domain

I looked high and low and can’t seem to find a way to get the the actual
ip number of that domain.

Does any one have any ideas?

Joe

@request.remote_ip ???