Questions tagged [ip]

This tag is for questions related to the Internet Protocol. You may want to use the tag [ip-address] instead of or in conjunction with this tag. For questions about intellectual property, use [intellectual-property] instead.

The Internet Protocol is one of the fundamental protocols used for the Internet. There are two main versions: uses 32-bit addresses (often shown in dotted-decimal notation, e.g. 10.0.1.3) and uses 128-bit addresses. IP addresses have their own tag, , which is often seen with . Its companion protocol is the Transmission Control Protocol, , and the combination is often denoted TCP/IP.

This tag is also used infrequently to mean the C language structure related to IP addresses, the computational complexity class IP or instruction pointers. It should not be used to refer to intellectual property; that has its own tag, .

9300 questions
2
votes
2 answers

Setting up an anonymous email system that logs IPs

I'm looking to set up a whistleblowing/anonymous tip website, but I've run into some problems. The basic idea is that you navigate to a splash page, fill in a few fields (name and location optionally, and then the message), then fire it off. At that…
2
votes
1 answer

What does it mean for a socket to have a remote address of 0.0.0.0 and its state be Bound

I have been trying to figure out what seems to be socket exhaustion on a production web server (Windows Server 2012). I have a powershell script, which is using Get-NetTCPConnection, to record the tcp ports that are in use. The script is outputting…
Joshua5822
  • 341
  • 2
  • 10
2
votes
2 answers

Best way to store IPv4 in db using Java

I have a requirement to make an app in Java which will manage IPv4 (or in future IPv6 too). The users will be managing their range of IP addresses, supernets and subnets (creating/deleting etc) in that app. I have a few questions about the…
AhmedRana
  • 486
  • 9
  • 22
2
votes
2 answers

Get client IP after received UDP package from Broadcast

I am working on a Device finder at the moment and i am really struggeling with the code because normally i write microcontroller code. I hope somebody could help me out. The goal is to receive the client IP from an UDP Broadcast to a manufacturer…
2
votes
4 answers

Orange Pi Zero: Obtain IP without accessing Router Interface

I have an Orange Pi Zero, which I have flashed DietPi on. It does not have HDMI, so I need to connect to it via Putty (or a similar program). The problem is that I cannot obtain the device's IP address, which seems to be a requirement in order for…
user8951490
  • 833
  • 1
  • 10
  • 21
2
votes
1 answer

Use USB printer over TCP/IP

I have an application that sends ZPL print jobs via TCP/IP to a client in the network (I can configure IP and Port). I have only a USB printer available that is attached to a client. How can I send print job to the client with the USB printer, and…
bpoiss
  • 13,673
  • 3
  • 35
  • 49
2
votes
1 answer

How to set localAddress in fetch request in node.js?

On my server i have multiple ip addresses. I need to make API call from my node.js server to external service, but i need to make it from specific ip address each time (the ip depend on many factors). it seems that HTTP module of node support…
Alex
  • 1,237
  • 3
  • 18
  • 29
2
votes
1 answer

Docker Swarm --advertise-addr changing

I have a 3 node swarm. Each of which has a static ip address. I have a leader node-0 on ip 192.168.2.100, a backup manager node-1 on 192.1682.101, and a worker node-2 on 192.168.2.102. node-0 is the leader that initialized the swarm, so the…
user5063151
2
votes
1 answer

Docker two containers two public IP , same Port

I have two public IP addresses in the same server eth0 and eth0:0. And I have two containers that I would like them to listen on the same port but not on the same public address. My two containers are attached to the docker0 that I have : eth0 …
2
votes
3 answers

How to scan IP Address with fscanf

how to scan IP Adress with scanf in c? I already user: scanf(" %d ", &ip_adress) Should i use %d.%d.%d or there is a easier way. This is my function for reading information from a file: void read_tree_from(FILE *in, PC **root){ char…
Stefan
  • 375
  • 1
  • 9
  • 24
2
votes
1 answer

What is the purpose of having multiple IPs for one server?

A matter of curiosity; I've been shopping around for VPS hosting, and I've seen that some services offer 2, 3, 4 or more IP addresses. Why would you ever need this/what is the purpose?
Bacu
  • 539
  • 2
  • 4
  • 12
2
votes
2 answers

can't find IP address for open nagios in browser

I downloaded nagios for vmware player and installed it, but I can't open it on my browser because I can't find the ip address. thanks. Look at the screenshot. You can see there is no IP.
haj_baba
  • 117
  • 4
  • 13
2
votes
4 answers

Regex grep external IP brings back internal IP as well - why?

I have this grep operation here that gives you the external IP from the output of ifconfig: ipa=$(ifconfig | grep -Po "inet addr:\K[^\s]+" | grep -v "^127") I desire to use only one grep, so I tried the following, which was partly…
Osi
  • 1
  • 3
  • 9
  • 30
2
votes
3 answers

Regex for splitting IPv4 and IPv6 ip:port syntax

I'm trying to figure out the best way to create a regex rule that works for both the IPv4 and IPv6 address space when the format is: [2a00:1397:4:2a02::a1]:50434 129.13.252.47:13456 I'm close, but basically, I need the match to be on the very last…
James White
  • 676
  • 1
  • 10
  • 18
2
votes
1 answer

How can I test my international IP detection script?

I want to test my international IP detection script on my web site. How do I setup a proxy so that my web site thinks that I am coming from a foreign iP? Specifically in this case I'm looking to test from Canada, Germany, UK and France.
Chris
  • 1,731
  • 3
  • 24
  • 38
1 2 3
99
100