I have a server and have been assigned a static IP by my ISP. How do I go about configuring my server to work on its assigned IP?
99% of Windows internet users use what are called “dynamic” IP addresses. That means each time you connect to the internet, your ISP assigns you an IP address to use when you connect. The next time you connect, you might get a different address. If you’re only connecting out to the internet, that’s all you need.
If you expect people to connect in, say you want to run a web server that you want people to be able to find and visit, you’ll most likely need a static IP address. A static IP is assigned by your ISP to you permanently, and identifies your server to the world.
The question is: once the IP is assigned … then what?
Become a Patron of Ask Leo! and go ad-free!
If your computer is connected directly to the internet, meaning it’s not behind a router or a firewall, it’s actually pretty simple. In Control Panel, Network Connections, find the network connection that represents your connection to the internet. Most often it’s labeled simply Local Area Connection. Right click on that and select Properties. Now click on the Internet Protocol (TCP/IP) item in the list (you may have to scroll down within the list to find it):
Now click on the properties button.
A default configuration will have both Obtain an IP address automatically, and Obtain DNS server address
Click on Use the following IP address: and enter the IP address, subnet mask, and default gateway information that your ISP should have given you. (If they did not give you all three, ask them.)
In most cases they will also give you IP addresses for the DNS servers you should use. Click on Use the following DNS server addresses and enter that information as well.
That’s it. Once you “OK” your way out of those configuration dialogs, your computer should now respond to its assigned IP address.
If you’re behind a router, things get a little more complicated.
The first thing to realize is that the static IP address should probably be assigned to the router. That will require configuring the router, much like we configured your server above. Exactly how will vary from router to router, but the principals are the same: you’ll configure the router to not get an IP address dynamically, but instead you’ll enter the IP,
gateway, subnet, and possibly DNS information by hand, using whatever approach your router uses for configuration.
The “trick”, if you want to call it that, is telling the router to pass on requests it receives from the internet to your server. It’s typically referred to as port-forwarding. Once again, depending on how your router is configured, the general idea is that you configure it to accept requests on certain “ports” and direct them to certain computers on your LAN.
The port part is fairly easy. If you want to set up a web server, then you’ll know that port 80, where http requests are handled, is the port you want to forward. But to where?
Much like your direct connection to the internet, you’ll need to assign your server a static IP address within your local network, so that the router knows what machine to forward the requests to. Typically a router will tell you, or let you configure, the range of IP addresses it will assign from dynamically, so you’ll simply want to choose an IP address outside of that range. For example my router at home is configured to assign dynamic IPs starting at 192.168.1.100 and up. So I’ve elected to assign a static IP on my local area network of 192.168.1.2 (192.168.1.1 is the address of the router on the local network).
So the rest is simply a variation on what I’ve already covered: configure that server with the static IP you’ve chosen, a subnet mask of 255.255.255.0 should do, the default gateway should be the router (192.168.1.1 in my case), and quite probably the router should also be your DNS. If not, use the DNS settings that your ISP assigned you.
Now configure the router to forward port 80 traffic to the static IP address you chose, and … there you are. Your web server, behind a router, should be visible from the internet.
Port forwarding is actually very powerful, when set up correctly. In my case, I have port 80 traffic, for a web server, directed at one machine, Remote Desktop traffic (port 3389) is directed at another, and Skype (a port Skype selects randomly at setup time) to yet another.
73 comments on “How Do I Configure My Static IP Address?”
When assigning a static IP address to a server on your LAN, behind a router, there is more to it than simply chosing an IP address outside of the DHCP range given out by the router. It also should be within the same subnet so that other computers on your LAN can see the server. Subnetting is a whole ‘nother subject, but in the example given, had the server been assigned 192.168.2.2 or 192.168.3.2 it would not have worked. That is, the static IP has to begin with 192.168.1 (in this particular case due to the subnet mask).
I have a wireless router, and it does not allow other users to connect to my computer e.g. say i have a gaming server up. no one out of my network can connect to my server, how do i foward my ip or allow other clients to join my computer
You need to open up the ports that the gaming server needs on your router, and indicate which of your machines that traffic should go to. It’s called “port forwarding” in most cases.
I can’t be too much more specific than that because the ports needed will vary based on your game, and how you set it up will vary based on your router. But hopefully documentation for both will allow you to get there from here.
I set up my router using a static IP address from my ISP. My PC works fine when I set up the dailup connection properly, but is there a way to set up a wireless laptop? Once I change the router to static IP I can’t connect through to the internet with the wirless laptop. I see the network and everything else is fine…Can you help? THANKS
Well, it’s hard to say because I don’t have a clear picture of what you’ve set up.
Your router should be using a static IP from your ISP on the WAN connection. But you want your computers to use dynamic IPs, which would be provided by the router. Make sure that the router has DHCP enabled for the LAN side. That’s actually exactly how I operate here at home.
I have a problem with Ipconfig.I want to activate and know the Ip configuration for my stand alone home PC for a software installation.But when I use the ipconfig command in the command prompt, System return as follows:-
Media state………….Media State Disconnected..
So I am not able to retrieve Ipconfiguration..
Please Help me in this regard.
Josil: “media state disconnected” means that the cable is unplugged or the wireless has no connection. ipconfig shows information for an active conneciton.
I currently have a wireless lan at home with my sister’s computer being connected to the wireless adsl router via her computer’s ethernet port and my computer connected via its wireless card. She used to get the error message “Shareaza may experience poor download performance as you are behind a nat router or firewall”. According to the shareaza help site I configured zonealarm pro, set up a static ip address on her comp and enabled port forwarding on her router so Shareaza ( a p2p application like kazaa) could function properly which it did. Though the internet works fine on my computer i get the same message she used to get so again i configured zone alarm pro and made my ip address a static one….how would i do port forwarding since my comp isnt connected directly to a router? or dont i have to do port forwarding to fix this error? or is port forwadding not possible on a computer which has a wireless thernet card?
Port forwarding happens on a router. If there’s no router, there’s no forwarding required. If you are sharing the router, a forwarded port can go to only one computer.
I bought a netgear wireless router with 4 port switch, I have sprint dsl and I know I have static Ip, but either I have really bad luck or my dsl modem is odd, because I can’t ever get into the router settings to change it to static ip, I’ve tried linksys aswell with the same if not worse results, any suggestions otherwise I’m just gonna gice up, I don’t know what else to do!
I have a question, i have an ADSL service with a dlink 310 modem(lan-Router). the isp gave me a username and password, i used it to connect, but at the same time i could connect to my isp using ip configuration without need to log on, i uses 172.16.1.70 as my computers ip, and 172.16.1.1 as server ip, 126.96.36.199 for dns server, no i changed my service to 512k, but my aacount with username and password has only 5GB each month, i can not connect to internet using IP configuration, if i could do that like before, so i could download more than 5 GB, what can i do? why i can not connect with ip anymore? how can i detect the ip adresse that i can put in lan settings?
Hi Leo.I have a nintendo DS.I was trying to use the wi fi connection online.I need a subnet mask.Do u know how I can get one?
—–BEGIN PGP SIGNED MESSAGE—–
Not a Nintendo user, but if it uses DHCP, then ist should get the subnet mask
automatically. Otherwise I’d just try 255.255.255.0
—–BEGIN PGP SIGNATURE—–
Version: GnuPG v1.4.6 (MingW32)
—–END PGP SIGNATURE—–
I was phished and my email was being read by someone I don’t know. I tried to change my ip by doing the following step above, but my computer will not change it. I went to start, run, cmd, ipconfig/release, then to tcp/icp and then added my own ip address. closed the box and then went back in and then let to computer to assign ip automatically. I went back into cmd, release all and sure enough my ip was still the same. Any suggestions? I am connected to an at&t modem.
—–BEGIN PGP SIGNED MESSAGE—–
Your IP address probably has nothing to do with your being phished or your
email being read.
Your IP address is *assigned* to you, you don’t pick it or force it to change.
But like I said, that probably has little to do with the situation you’re in.
—–BEGIN PGP SIGNATURE—–
Version: GnuPG v1.4.7 (MingW32)
—–END PGP SIGNATURE—–
For those of you looking for your static info, gateway, etc, open a command window (start| Run| CMD|
Type “ipconfig” in the new window. There’s your info.
This may not work in all situations. YMMV, as always.
I am having issue with my static IP address. I followed your instructions and was able to connect to the internet. I am using Windows XP. However, it seems that every other day my computer resets the IP protocol to “obtain an IP address automatically” and I have to manually input the static IP address along with all the other subnet mask and default gateway addresses. I can’t figure out anyway to get it to stop. Every other day like clockwork it simply resets itself and I have to reconfigure the address. Any ideas?
The article is simple and easy to follow.
I have couple of questions:
1. What if there have to be two web servers behind the router?
2. is port forwarding any way connected to NAT concept?
Thanks In advance,
2) It’s part of the NAT concept. One one site you have local IP address, and on the other you have a public IP. You’re translating IP addresses for all packets that cross through the router, regardless of direction.
If you guys have a dynamic ip address and want to host a server…
Check out http://www.dyndns.com/ this site allows you to create a few names for free. If you download thier client it will update your address to the domain name.
I host 2 domains using 1and1, and use DynDNS to tell everone my new address.
My Dynamic DNS name is etorvinen.ath.cx.
then I create cnames using 1and1 to point to that DNS.
In my medical office we have no server. We have a VoIP phone system which provides us a T1 dedicated line out to the Internet. We also have an EMR system that we use for patient records. We chose to have the vendor of the software house the server on their end since we have no internal IT dept. So the vendor provided a Juniper router to allow our computers to connect to the software. Now the ISP for our VoIP has sent out a letter saying that they are giving us a new static IP address and that we need to make those changes. I will pass the letter along to the software vendor to make those changes to the router the provide for us, but do I follow the steps in the article above to make the changes to the all the office computers?
I have a cctv sentinel security system and i was thinking about getting a static ip so that i could view my store from my home. how do i go about doing this. Is this the same as the article says , because there is a special program it uses to see what the camera sees.
My internet connection is behind a ADSL router and I configured my PC and router as said in this article, I assigned a static private IP to my NIC 188.8.131.52 and router Lan IP to 192.168.1.1 and configured routers WAN IP with static Public IP provided by my ISP and added my PC’s IP address to port forwarding…
But, when I type my Static IP address in a browser my routers admin page is opening.
Any sugessions would be very much appreciated
Leo I read your comment on “How do I configure my static IP address but my question do I place router cd in my computer to change my setting ,I wish I could talk to you ,I mean my wife and I share the same router with both computer I want to set up my computer with a static IP address to be a server with my radio station using my computer.We placed the linksys cd in her computer to set up everything ,what do I have to do to change my IP ADDRESS to a static IP address its right now a IP address dynamically with Bell fuse I NEED YOUR HELP jOHN
I need your help and advise, Firstly, I call my ISP provider in order to get static IP address so they told I have to pay extra fee every month. Secondly, is there anyway I can get static IP address for fee?
I would be very happy if you could help me please,
my connection is dial up. can i change it to static ip? thx
Yes, is there any static ip adresses i can just type in ?
I have four friends in various cities. All of them have Internet connection. In each & every friends have above two computers. now we want work in same single system (like server in every workgroup ). how we configure our routers Ips to join all of my friends in single system.
how can i convert my dynamic ip in the static ip
I was told by my Time Warner that I am not able to log on to the internet becaause my IP address is not working. Is this something I can do by myself or should I just take it down to a computer repair shop.
Here’s a brief rundown on getting a static IP:
Most ISPs know that a static IP is far more useful than a dynamic IP for setting up remote login, web servers, mail servers, CCTV systems, etc.
Accordingly, they sell inexpensive consumer plans with dynamic IPs, and expensive business plans with Static IPs.
There is no way to ‘convert’ your dynamic IP to a static IP, since the IP is provided by your ISP.
BUT – there is a way to link your home computer to a service called dyndns, which gives you a web address that connects to their software on your computer, updating the IP address as your ISP changes it.
This is what I use to remote into my mac with my iphone from work, and it works like a charm.
Sir, my brother just fixed our internet a year ago… he used an
IP Address: 184.108.40.206
Subnet: 255, 255, 255, 0
Default Gateway: 220.127.116.11
I changed it, without knowing that I can’t revert it back.
when I try to revert it back, it tells me that the static IP is being used, that I should choose another one, what should I do to gain back that IP address?
You make things look simple by giving simple answers that uninitiated like us would understand… you’re cool sir! really cool… thanks
So if you dont have a router you dont need a static ip address?
@”Some situations require static IPs, but most people rarely need them.”
Obviously you have not heard of ADSL, everyone using ADSL requires a router
I have a static ip address that i need to access from the internet. I’m able to access it by giving the ip address the only problem is I want to associate a dns to this ip. eg ; when I give the ip address 192.168.1.4 I’m able to ping it from other machines but when I give the associated dns entry like server.domain.com or domain.com I’m not able to ping.
I have a small office network. One Computer acts as the file server for the office. It does not go on the web. How do I set its STATIC address so its the same each time it reboots and so all the PCs and MACs on our network always see it?
hmn, re: manually configuring static IP. IP Address has been entered in the TCP/IP Properties “Use following IP Addresses” and DNS fields, as described, os windows xp svc pk 3. When i test the connection it fails with “no PPP configuration” error. Sir, may i ask, is it required to append/register DNS suffixes in advanced settings? do the DNS and IP have to be assigned by the dialup ISP or is it possible to use the Server address and Client IP located in the Status Details tab at the time of connection? thank you for your help.
My home network includes a combination router and DHCP server. For remote accessibility purposes, I’d like to assign static IP addresses to some of my computers…but I want to make sure that these same devices are using the most efficient and up-to-date DNS servers–the addresses for which are dynamically provided to my router via my ISP.
When a computer is configured to use a static IP address, the DNS server addresses must be manually assigned. Why can’t my computer have static IP addresses but dynamic DNS servers?
How does everyone else handle this? Do you occasionally check to see if your DNS servers have been updated….and then update your computers accordingly?
I’ve yet to see this question addressed in any articles that describe how to configure static IP addresses.
I am connecting to an integrated voice/data T1 circuit from at&t. They are providing a router that breaks out voice channels to my Avaya phone system and a cat5e for internet access. Do I connect the data cable to my firewall or do I connect it to a port on my switch? If it’s firewall, do I need to configure anything on my firewall? we have a similar setup using a different provider but it was set up before I was with this company. thanks.
@Small Fish, dude, basing on experience, you are the one to set up the LAN side, so you will be the one to decide if you want to connect a firewall or a switch or an internal router behind the one provided and managed by at&t. i know for a fact that you should connect @ the fast/gigethernet 0/0 for data connection, and it is usually not turn up yet, so you need to call the ones managing your service and ask them to turn it up/admin up it for you, ask as well for the useable ip addresses, default gateway and DNS servers, for you to set your LAN. Thanks and hope this helps.
What if I have two web servers on the same router. Will they share port 80 and the traffic will know which machine to goto by the external IP address? Or do I need to change the http port on one of the servers? If so how?
im using airtel broad band connection.i need a static ip address.plz se4nd it to my mail id
A static ip address is something you would have to order from your ISP. Ask Leo has no way of doing this for you.
Thank you for the explanation. While the actual act of setting IPs is easy to find out, many tutorials fail to answer the question – ‘why?’ Yours is the first explanation that adequately answered this question for me
I get all this, the final question I have is setting up the router when I have a registered domain being hosted (by godaddy.com maybe). Do I uses GODADDY’s DNS servers, or the ISP’s DNS servers?
Those two things are unrelated… You domain’s IP and your home Internet IP. For your home router you set it up following you ISPs instructions. And don’t try to use your domain’s IP address on your router. Unless you don’t want an Internet connection, that is!
Hlo respected buddy I have a problem in my airspan wimax device setting .my isp gateway adress is 10.1.1.254 in static mode but I hav changed it to bridge mode and its wan and lan etc appear and wan and lan ip was same then I tried to save the setting but its says lan ip and wan ip cannot be same then I change the lan ip and add few things of lan and saved and reboot it for change and I can’t access my ip and open the login page of airspan wimax and internet doesn’t work I forget my changed ip of lan and when I directly connect he ethernet cable to my pc it shows unidentified network and no internet access please help me to open the login page my wimax device doesnot have RESET buttom and I have tried the ipconfig command from command propt. PLEAse SIR HELP ME I am IN Great trouble plzplz plz
Hi, I have a question?? If i obtain a static ip address, Is it possible to connect 12 computers in different cities across india??? The main objective is i will have to track all the systems which has a common hotel software in all 12 computers. Please advise.
Hi Cocco I know I am not Leo but from my understanding it sounds like your connection is timing out and when you turn everything off (reset) you are basically restarting your timer so If your computer is connected directly to the internet, meaning it’s not behind a router or a firewall, it’s actually pretty simple. In Control Panel, Network Connections, find the network connection that represents your connection to the internet. Most often it’s labeled simply Local Area Connection and make sure that in the properties it is not set to timeout after a certain amount of time (TCP/IP properties) I hope that this helps but something else you could try is when it happens instead of doing a manual reset do as I said above go to CP then to NC then your internet connection and use the troubleshoot problems options that can diagnose and repair a lot of the most common problems. Good luck to you!
I am in Toronto ( remote site) and I am connected to the main office by a 9611 avaya IP phone. At the main site (Jamaica) is an avaya ip office with a static ip address. My isp at the remote site is bell and they are using a bell 2000 router. At the moment I can only receive calls if I call the phone would ring at the destination but there is no audio either way. If they call the call quality is perfect.
Prior to switching to bell I was using rogers as my ISP and the phone was perfect both ways. I am not sure what type of router they were using but it worked. Need to get my phone working again can you help?
I have got a domain using server 2012 r2 and on the same saver I have got my dhcp server configured. My dns server configured but pointed to the domain server that is using the same ip address as that of the domain server. I have got 3 clients computers added to the domain. I am planing to bring my Internet connection from an ISP that uses ADSL line. All the IP addresses on my domain network are private ip address I just picked and is work just fine. Now I would want my domain to access the Internet same time I would want the DHCP server configured on my server to take charge of this. The question is how can I configure the dhcp to play around and ensure my computer with the domain are able to access internet despite there are been assign with privat ip from my dhcp server?
please guide me , i have to give static ip to one of my client , and my whole network run on dhcp , then how we configure this thing , so my client get direct access to my network ??
my lease line connected in modem then one Ethernet port connected to switch , then where i hv to put next machine to use static ip ?
You would have to contact your ISP in order to get a static IP. It’s not something you can configure on your computer. It’s normally a service you have to pay for.
Whenever I try to open the Internet Explorer on my laptop, internet connection breaks and also disconnects my outdoor ADSL modem so no one can use Internet, either.
As soon as I turn my wireless switch off, Internet access is possible for others.
Is anybody familiar with this error???????????
Try disabling all plugins in Internet Explorer. If that doesn’t work read this article: https://askleo.com/how_do_i_remove_malware/
i have dlink router dir- 506l and mts dongle ac2746 and i connect to my dvr h264 cctv camera through online internet but the online internet ip address is not save because if i disconnect to the internet then every time the ip address is change so how can save it. please solve my problem as soon as possible.
You need to contact your ISP and get a static IP.
we just assigning a static ip address & subnet mask,gateway also .finally i click ok button now its showing the system restart opation.after restarted the my system and i open network sharing option but ip address assigned to be automatcally. many times i will try but same msg is showing.kindly adwise me..
Dear sir I buy a wisq2300l outdoor CPE. But I can not software set up. Because configured the host system with static IP on the 192.168.1.x(x could be 10-254). What is the x. My 2nd questions is using a web browser access 192.168.1.2 when web browser log in then web page not available this write show my computer. Pls help me.
how do I find my lan on my lap top
Check the users manual that came with it, or check with the manufacturer’s web site.
I’m trying to connect my iphone to the home network wifi but i’m unable to do so.
Can anyone tell me exactly what i should enter if i want to establish a static ip address .
i have no clue about how to do so
You shouldn’t have to. You should allow it to configure automatically and dynamically. If that doesn’t work then there’s something else wrong. Unfortunately it’s impossible for me to diagnose.
I am using 2Mbps internet leased line in my organisation My isp gives us 4 static IP in single line how can i distribute it to
1) one ip for firewall
2) second IP for wireless router ( 1st floor)
3) third IP for wireless router ( 2nd floor)
4) fourth IP for wireless router ( 3rd floor)
is i have to use Ethernet switch to distribute internet leased line. if yes which switch is good for use (without doping speed)
and if No then please tell me which instrument i have to use. Please Help me
i need to assign static ip address to one of my system within a network . which is connected by using beetel 450tc3 wifi route and to common 8 port switch… from that i connecte 8 systems.. i wann to assign static public ip to one of my computer.. i wann acess data using tha public ip to 1 system where i assigned my static ip. and other system should get internet acess.. how to configure this
I have a server , when I set it with local static IP it dose access the internet, cannot open any webpages, but when I set it to obtain ip it works fine, although the static ip is the same ip issued by the router, I also tried and IP outside of the DHCP set in the router
what could be happening ????????????????
well im in tijuana mx i need to setup my static ip address and no one knows… what do i need info as ..besides my ip static address???
ty in advance…
Contact your ISP for specific instructions.
I have a zosi security system/NVR. I cannot get it to connect to network. Get message that dcup not found or gateway unreachable.
In this situation is a static ip mandatory? .
I’m troubleshooting a problem, and one solution is to set a static IP address…I’m not exactly clear what all this means, but my main question is: Once I finish troubleshooting, should I switch back to “Obtain IP address automatically?”
A static IP is something you get from your ISP, usually at an extra cost.
How Do I Configure My Static IP Address?
Can I set up my own static IP address for my internet connection?
I have about 8-9 machines (computers & a printer) behind a router. ISP gave me a static IP to use (I ordered it). Is it possible to assign only one machine (of those 8-9, I have), which I need to access from outside network, a static IP address while all the remaining machines get dynamically assigned IP’s? If yes, how do I do I configure the network?
Theoretically yes — it’s often referred to as the “DMZ” in your router, but exactly how you’ll configure it depends on the specific router.