Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [ip-address]

An Internet Protocol address (IP address) is a numerical label assigned to each device in a computer network that uses the Internet Protocol for communication. This is a general tag that covers both IPv4 (like 172.168.100.1) and the newer IPv6 (like 2012:da8:0:1234:7:577:8:2). If you specifically ...

0
votes
0answers
11 views

What ip should I connect socket to when communicating between two machines(ZeroMQ)

What IP adress should be used to connect to server running on my pc from other machines? In my server, I call zmq_bind to listen for all incoming connections, like this: zmq_bind(socket, "tcp://*:...
167
votes
4answers
215k views

Is it possible to have SSL certificate for IP address, not domain name?

I want my site to use URLs like http://2.2.2.2/... and https://2.2.2.2/... for static content to avoid unnecessary cookies in request AND avoid additional DNS request. Is there any way to obtain SSL ...
0
votes
0answers
10 views

Retrieve origin IP address of entity that makes a change to a database - Django

I'm using Heroku, and Django. I want to know how can I retrieve the IP address of the origin IP that makes any database change. I want to add some security measures to a database that will be managed ...
-6
votes
0answers
33 views

How would you get the IP address of reviews from other websites not my own?(ex: Amazon) Preferably Java [on hold]

I'm doing a project with some other classmates but we're a bit out of our element. Most of our knowledge is Java, willing to learn another language. We have to detect fake reviews for a product using ...
-1
votes
1answer
48 views

How to get IP address of device in Unity 2018+?

How to get IP address on C# in program which developing for android device in Unity 2018.2+? Seems like Network.player.ipAddress is deprecated right now, so I'm looking for a new way.
0
votes
2answers
11k views

Jax-ws java.net.ConnectException: Connection refused

I'm experiencing an odd networking problem connecting to a web service running on glassfish from a java client running on tomcat using JAX-WS (Metro). Here's the scenario... Both servers are running ...
2
votes
2answers
6k views

IP address pattern in SQL like command

I want to select rows which contains an IP address in a nvarchar column. What's the correct where statement? SELECT * FROM tblUrl WHERE ... (Url contains an IP address)
158
votes
8answers
93k views

Get IP address of visitors

I'm making a website where users can log on and download files, using the Flask micro-framework (based on Werkzeug) which uses Python (2.6 in my case). I need to get the IP address of users when they ...
0
votes
0answers
4 views

Kaldin Patch for access over LAN

i have been tried over days to access my Kaldin (an online examination software) in my Local Area Network but it keep giving an error message asking for a patch that will enable that happen. Is there ...
415
votes
41answers
479k views

Finding local IP addresses using Python's stdlib

How can I find local IP addresses (i.e. 192.168.x.x or 10.0.x.x) in Python platform independently and using only the standard library?
3
votes
3answers
2k views

Apache httpd bad request when accessing by ip address - Review Board

I have setup Review Board and it works fine when accessed from localhost. When I try to access it by ip (from LAN), I get BAD REQUEST. I have copied apache-wsgi.conf to my apache conf directory. ...
9
votes
9answers
22k views

Bash script to list all IPs in prefix

I'm trying to create script that I can input a set of prefixes, which will then list all IP addresses within the prefixes (including network/host/broadcast). An example would be: ./convert-prefix-...
36
votes
6answers
47k views

Conversion from IP string to integer, and backward in Python

i have a little problem with my script, where i need to convert ip in form 'xxx.xxx.xxx.xxx' to integer representation and go back from this form. def iptoint(ip): return int(socket.inet_aton(ip)....
1
vote
1answer
15 views

Amazon ACL allow range of ip adddresses

I want to allow outbound network traffic from an amazon VPC to ips where the 3rd octet is within a range, so something like 123.456.*.789, where * could be any value. I do I do this with Amazon's ...
0
votes
0answers
15 views

What are the steps involved in sending a packet from host A to host B

This is a question from my past exam, unfortunately I could not attend the lecture and my Prof is not replying. For now I understand that it uses ARP and that ARP which is a protocol for mapping an ...
6
votes
2answers
1k views

How to get client IP address in a Firebase cloud function?

When saving data to Firebase database with a Firebase cloud function, I'd like to also write the IP address where the request comes from. However, req.connection.remoteAddress always returns ::ffff:0....
0
votes
0answers
12 views

Design an addressing scheme, using VLSM?

If this has been asked before then I'm sorry. I've been given this question and have been trying all weekend to figure it out. I've looked at multiple websites but none of them explain the process. ...
3
votes
3answers
17k views

Nmap IP range specification

I need to specify specific IP range for Nmap scan, for example: 192.168.1.140 - 192.168.3.255 If I do it like: 192.168.1-3.140-255 IP addresses like 192.168.2.7,192.168.3.7 won't be scanned (...
285
votes
18answers
325k views

How to get IP address of the device from code?

Is it possible to get the IP address of the device using some code?
-1
votes
0answers
10 views

WooCommerce payment confirmation not sending from our GoDaddy dedicated IP

Anyone have experience with GoDaddy dedicated IP addresses on GoDaddy shared hosting? I have been managing the development of a Woocommerce store for a clients site and it was recommended by Realex/...
3
votes
3answers
4k views

How to get Domain Name of IP address and IP address from Domain Name in Objective C?

I am able to get the current IP address of my device/machine that I am using - by using this question's answer. I have gone through this question. Java allows to get the IP address from a domain name....
0
votes
0answers
38 views

python script to get wildcard mask output in the following format

I am trying to convert wildcard mask to subnet mask. My input text file will be: 192.168.0.1 0.0.0.255 My expected output: 192.168.0.1 0.255.255.255 I wrote code to convert wildnet mask to netmask. ...
60
votes
20answers
87k views

Which terminal command to get just IP address and nothing else?

I'm trying to use just the IP address (inet) as a parameter in a script I wrote. Is there an easy way in a unix terminal to get just the IP address, rather than looking through ifconfig?
-2
votes
0answers
13 views

How can I hide my IP address from others in my own wifi network?

I've been trying to figure out a way to hide my IP / Mac address from others inside my own Wi-Fi network, but came up with nothing. I'm trying to create an internal blog that people, using my wifi ...
0
votes
2answers
30 views

How to get the users desktop/laptop ip address in Oracle SQL procedure

I am using server's putty session to connect to oracle SQL plus and did below queries to get host name and ip address. these queries are returing the host name and IP address of the application ...
1
vote
1answer
17 views

For a given Heroku Dyno *instance*, is the external IP address stable for the lifetime of that instance?

Can I count on the external IP address being stable for any given Dyno instance. That is, my Dyno boots up and makes a request to some external service. That service notes the incoming IP address. ...
54
votes
7answers
136k views

How to convert string to IP address and vice versa

how can I convert a string ipAddress (struct in_addr) and vice versa? and how do I turn in unsigned long ipAddress? thanks
1
vote
3answers
320 views

convert ip address to a single number

I have a file which contains more than 100 ip addresses(dotted decimal.eg. 169.23.43.12). Now I need to read all the ip addresses and sort in ascending order. For this, first of all I tried to convert ...
1
vote
2answers
462 views

when will ifa_addr be NULL on calling getifaddrs()?

I have used getifaddrs() function to get the interface's ip address. From the man page, I know that: The ifa_addr field references either the address of the interface or the link level ...
1
vote
2answers
23 views

Python - Create list of IPs based off starting IP

I spent a few hours researching, and this has stumped me. Before I go down a new path, I'm looking for a best practice. I ultimately want a list of IPs (just the IPs) when given a starting IP, based ...
0
votes
0answers
27 views

Accessing an IP subdomain on Android

Using Xampp on my Windows machine, I have subdomains for each websites which I'm developing. So for example, URL in the browser is: https://Test-AAA.localhost/ https://Test-BBB.localhost/ I just ...
0
votes
0answers
33 views

How to retrieve an unused subnet from a list of input subnets

I have a list as input [ "10.1.30.0", # to be considered as /24 by default "10.1.34.0/24", "10.2.0.0/16" ] Which can be modified at any given time by user. I want to write a function that ...
-1
votes
1answer
55 views

Are there any other methods other than .htaccess method to block a specific IP address from entering my website?

I can't block a IP address from accesing my wordpress website with .htaccess method. Are there any other methods to block it?
-1
votes
0answers
22 views

How to save IPv4 and IPv6 addresses?

I need to keep track of the IP addresses of my users. For that purpose, I plan on converting the regular IPv4 addresses to their decimal equivalent, so I can save them into a regular int column. I'm ...
0
votes
1answer
23 views

How to access a WordPress website by IP address which have on shared IP address server.

I want to access my website http://www.time-table.in by IP address only. I have hosting from digital ocean server. This is shared hosting. I have hosted more than one websites on this server. Please ...
0
votes
0answers
39 views

Obtaining External IP with ASP.NET Core 2.1

I am attempting to obtain similar information as found on https://www.whatismybrowser.com. I specifically am looking for the external and local IP addresses. This is the .NET Core code that I am using ...
0
votes
4answers
1k views

Get DHCP IP-Address range

I want to search the local network for special servers to communicate with. To achieve this I'm running a for-loop pinging all IP-Addresses in the range I give the function. E.g. findServers("192.168....
-1
votes
2answers
40 views

Load Balancer IP Configuration

We have configured load balancer with 2 Linux virtual machines. we have planned to remove one server from the Load balancer and Load balancer too. Is there any possibility to assigning the load ...
0
votes
0answers
8 views

Tomcat 7.0 running on local machine needs to be accessed from public IP Address

I am running a web archive (WAR) on Tomcat 7 on a 32-bit Windows 7 machine. I am able to access the server on localhost:8080 which opens up the admin console. The web page is accessible at localhost:...
1
vote
0answers
13 views

Deny access to certain methods on an asmx to IP-addresses not in the company

I have an asmx that contains different methods. Some of those methods should be available to everyone. Some only to computers from the company. Is there a way to allow access to methods based on the ...
0
votes
0answers
14 views

What is the maximum number of Cidr start/mask addresses for an ip address range?

If given any possible ipv4 address range (x.x.x.x - y.y.y.y), what is the maximum number of cidr addresses (x.x.x.x/yy that will describe that? Basically I need to take an ip address range and convert ...
2
votes
3answers
9k views

Change IP settings using C++

How do I change the IP settings of a Windows CE 6 box Programatically via C++? Functions for Windows might also work. I found that I can change the hostname via sethostname but couldn't find how to ...
2
votes
4answers
15k views

Check network connection from an IP address with Python

How can I check if there is still connection from a specific ip address using python.
1
vote
1answer
37 views

How does one obtain the client's IP address in an AWS Lambda when the data comes from an IoT Core Rule?

We want to track the ip of the sender for some MQTT topics. I see in the Lambda event body or context that the data does not appear available. Is there an option to enable that I am missing or a ...
2
votes
2answers
66 views

Picking valid IPs from an array of strings

in my usecase i'm filtering certain IPv4s from the list and putting them into array for further tasks: readarray -t firstarray < <(grep -ni '^ser*' IPbook.file | cut -f 2 -d "-") As a result ...
0
votes
1answer
9k views

I want to try to check the IP using ServerVariables[“REMOTE_ADDR”] but it keeps return 127.0.0.1

I want to try testing the current ip address to find current country so i try this code... HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]; but it is always return 127.0.0.1' Is there ...
129
votes
18answers
157k views

Find the IP address of the client in an SSH session

I have a script that is to be run by a person that logs in to the server with SSH. Is there a way to find out automatically what IP address the user is connecting from? Of course, I could ask the ...
0
votes
1answer
51 views

Same public ip address is returned in java

In my project I need to find the public ip address of a machine. I have implemented that using method mentioned in Finding public ip address using java I have an api url like 'http://182.14.10.5:...
59
votes
5answers
87k views

Can You Get A Users Local LAN IP Address Via JavaScript?

I know the initial reaction to this question is "no" and "it can't be done" and "you shouldn't need it, you are doing something wrong". What I'm trying to do is get the users LAN IP address, and ...
0
votes
0answers
22 views

Subdomain IP Address(Url) Masking via .htaccess

I have a subdomain redirected to an IP address that currently works, but the IP address is visible in the address bar after redirection. My aim is to mask the IP address via .htaccess so only the ...