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
3
votes
3 answers

Run "ipconfig/release" in Windows to do DHCP

I am having a problem with starting my assignment because of a requirement that I can't pass through. We were instructed to perform ipconfig/release and ipconfig/renew in a Windows command line interface. I tried the first but it said that: No…
user1685185
3
votes
3 answers

command line to determine which Ethernet interface is in use

I have a script that I wrote to help to configure computers after they are deployed. The script does things like sets computer name, enable's BitLocker, etc. The one thing that I am struggling with is the setting of an IP address. The computers that…
user1858210
  • 31
  • 1
  • 2
2
votes
3 answers

IP Addresses of Computer

If I type ipconfig in my system, I am getting an ip address which is different from what I get from google(what is my ip). Which IP address needs to be considered?
2
votes
1 answer

ansible vmware windows server

I am trying to execute my ansible playbook to launch VMware-windows-server with IP settings, but VM is getting launched but without IP settings. after executing the playbook am not getting any errors and its shows changes also done, but when i…
2
votes
1 answer

is there universal/default IP for accessing routers web interface

I have a requirement where i need to access routers web interface and extract few information. I'm assuming that 192.168.1.1 will be default router IP address for every different types of router ( even different manufacturers ) to access the web…
Manisha
  • 372
  • 3
  • 13
2
votes
3 answers

Issue with batch file encoding

I have a batch file script I am trying to create to obtain some pretty basic info on the computers at my job site. However, I am having severe issues with encoding. WMIC and IPCONFIG put out different encodings, and as such, it is causing me to…
2
votes
1 answer

can't connect to MySQL database using external ip address

I have a MySQL server running on my Windows 7 computer as a Windows Service. When I try to connect to it using external.ip = my ip address from http://www.whatismyip.com/ in command prompt: mysql -h external.ip -u root -p it returns: ERROR 2003…
xgord
  • 4,606
  • 6
  • 30
  • 51
2
votes
5 answers

RegEx for DNS Servers via IPCONFIG

Stack Overflow RegEx Wizards, I've scoured Google and haven't quite found a good solution for this. I need to pull out 1:N DNS servers from IPCONFIG results. In the example below, I would need the first three. However, there may be an instance…
pixelbobby
  • 4,368
  • 5
  • 29
  • 49
2
votes
3 answers

Run ipconfig command with php

I use this code to understand some information of visitors (clients). It has been running on my virtual server on Xampp, but I can`t run on my main server (host). I see just a blank page. $info = system('ipconfig /all'); echo $info;
user1406448
1
vote
1 answer

cannot acces http://server_domain_or_IP:8000

I am using an AzureVM to host my development API server written in django. There, I cloned my codebase and did all the requirements.txt installation. Before executing the manage.py runserver 0.0.0.0:8000 command, I changed the firewall permission…
1
vote
0 answers

Why can not conntect to the IP provided by my WSL console when i trying to use static-server for testing on mobile

I am using NODE and npm static-server to display my .html files on the local network. I have no problems when I use Git Bash to deploy static-server. I was able to access from my mobile device using the ip that I got with ipconfig (the option LAN…
1
vote
1 answer

Get DHCP Server address with only Powershell, like ipconfig /all

Get-NetIPConfiguration doesn't show DHCP server's ip address information. How can I do same as ipconfig /all but with PowerShell native tools?
Random Guy
  • 69
  • 1
  • 8
1
vote
1 answer

ipconfig on windows 7 outside of system32

I'm working on making an incident response disk and I wanted to be able to run a copy of ipconfig off of external media such as a usb drive. This seems to work on my windows xp machine but when I copy ipconfig outside of system32 directory, it will…
blindude24
  • 11
  • 1
  • 2
1
vote
2 answers

Can I create a batch program that extracts only one of several IP?

I am trying to create a batch file that port forwards my IP. The IP can be found with the command ipconfig | findstr IPv4, but there are multiple internet adapters and multiple IP addresses. I want to get only one address like…
ji bak
  • 13
  • 3
1
vote
3 answers

IP Address of Specific Ethernet as CMD Variable

I need to check my ip address every 10 minutes and write it to a csv file, if it has changed. However, I have several network cards in use. How can I get IP address of a specific card in CMD using its MAC address? See below for modification of…
Mosy
  • 175
  • 1
  • 1
  • 9