Questions tagged [ipconfig]

A Windows command used to view and modify network IP-related settings.

Useful links:

  1. IPCONFIG on technet.
  2. IPCONFIG on SS64 help pages.
97 questions
51
votes
6 answers

Amazon ec2 not working when accessing through public IP

I am new to Amazon EC2. The application is working fine on the Amazon EC2 Windows Server. But when i am trying to access the same through the public ip, it is not accessible. I have seen the inbound configurations and the ports(HTTP,HTTPS,SSH) are…
Jay
  • 835
  • 1
  • 6
  • 11
27
votes
3 answers

Configure PostgreSQL to work for only LOCALHOST or specified ip + port

I want to configure PostgreSQL to accept connections only from a specified IP. It should not accept requests from any other IP.
Ankur Loriya
  • 3,276
  • 8
  • 31
  • 58
19
votes
1 answer

Can I temporarily override DNS resolution within a .NET application?

I have some wrapper code that runs a set of NUnit tests that scan live websites for certain response codes. I'd like to run these tests against a different server. When running manually, I can do this by editing the /etc/hosts file in…
Dylan Beattie
  • 53,688
  • 35
  • 128
  • 197
16
votes
2 answers

What is Teredo Tunneling Pseudo-Interface?

Running ipconfig /all shows a Teredo Tunneling Pseudo-Interface. What is that? Does this have something to do with IPv4 vs IPv6? Should I get rid of it? If so how?
Brig Lamoreaux
8
votes
5 answers

Recovering from ipconfig /release on a remote PC

Not strictly a programming question, but I was programming at the time and couldn't find an answer, so I thought, "Hey, I'll give StackOverflow a try!" So I'm connected to my Windows XP work PC over a Remote Desktop connection through VPN. In a…
SWB
  • 1,432
  • 2
  • 14
  • 24
6
votes
2 answers

How to get local IP address of a computer using QT

I am trying to get the local ip address (IPV4) of a computer in QT. I found the following code: QNetworkInterface *inter = new QNetworkInterface(); QList list; list=inter->allAddresses(); QString str; for (int i = 0; i < list.size();…
TJ1
  • 7,578
  • 19
  • 76
  • 119
5
votes
3 answers

Get Interface name, IP and MAC in Windows Command line

I want to get a list of all the interfaces, IP and MAC address on a machine. I have quite a few machines to get this information from (around 600) and I can't use a batch file on the devices. I would like to send the command and get back an echoed…
scott
  • 143
  • 1
  • 2
  • 12
5
votes
5 answers

How do you determine if an interface is a physical LAN port on a Windows PC?

I'm looking for a method to acurately determine if an interface is the physical 802.3 ethernet port on a pc in windows. Using ipconfig /all I can list all the interfaces, and when I do this on my pc several entries can be listed here including VPN,…
monkut
  • 42,176
  • 24
  • 124
  • 155
4
votes
0 answers

How to fix the error "E: Unable to locate package wireless-tools" in termux

The answer is: We get this error when we try to install the wireless tools in termux using the below command pkg install wireless-tools This is because the termux-root-packages repository are not subscribed. To subscribe to the root repository,…
10Sicnarf
  • 41
  • 1
  • 2
4
votes
0 answers

Get host name From IP address iOS 10

I need to fetch host name from ip address. Am able to fetch ip, mac addresses of all devices connected to my devices network, but hostname always returns nil. i had tried below code snippets to retrieve hostname but it always returns nil in my…
Vaisakh
  • 2,919
  • 4
  • 26
  • 44
3
votes
4 answers

How do I do set a variable in Windows command line to an IP?

Is there an easy way to grab the IP address from my service provider and put it into a variable via command prompt? Something like the following: SET hostIP = nslookup \address ECHO %hostIP% Or SET hostIP = ipconfig \address ECHO %hostIP%
Jon Lawton
  • 890
  • 3
  • 14
  • 33
3
votes
0 answers

How to execute windows commands (ipconfig,netstat) with specific locale/codepage using python

I want to parse to output of windows commands such as ipconfig, netstat, tasklist etc. using python. But certain part (Fixed) of output of these commands is returned based on current locale/codepage. E.g. in ipconfig output the string IP…
Rakesh
  • 271
  • 1
  • 2
  • 11
3
votes
0 answers

Using iPhone to connect to localhost running on Windows 10 Computer (No USB)

I'm developing an API and I am hosting it on my desktop server running Windows 10 using php -S localhost:8080 -t D:\Code\Projects\Website. I want to be able to use my iPhone to visit this localhost:port webpage without plugging my iPhone into my…
xLnRd
  • 43
  • 2
3
votes
1 answer

Identification environment in PHP when script run with CLI

I'am using apropriate config for each environment. In order to acomplissh that i have to identify with 'HTTP_HOST' variable , for example: if($_SERVER['HTTP_HOST']=='example.com'){ the problem is that when i run the code from cli , locally i can't…
user7075468
3
votes
3 answers

Get MAC and DHCP server from ipconfig

I am writing a script in a WinPE environment where I want to find my PXE server and send it my MAC address to retrieve provisioning scripts. Here's what I have to deal with: The server will have multiple network adapters. Only one is connected to…
Christoffer Reijer
  • 1,925
  • 2
  • 21
  • 40
1
2 3 4 5 6 7