First, typing in the search box of any search engine such as Yandex "how to find out your ip and port, you'll get a lot of links to sites that provide this information immediately and free of charge. The fact is that, when you access a website, your computer reports information about itself to the server where the site is located. Your ip address of your computer tells the server first, waiting for a response from the server. Your ip address is allocated by your ISP, and the address can be a constant (the so-called "white" ip) or a changing, but the range of ip addresses allocated to the ISP.
Second, find out your details by clicking start / run, in the command line write: CMD, press Enter. In the black window write: ipconfig, hit Enter. To see your port in the same black window write netstat –n and press Enter.
Finally, the third, no less simple way. In the lower right corner of your screen there is an icon "local area Connection" which looks in the form of two flickering monitors. Double click on this icon and in the appeared window "connection Status" click the tab "Support". On this tab you will find your ip address, subnet mask, and default gateway. Clicking on "Details", you can find more detailed information, such as details of the network connection.
Advice 2: How to know the subnet mask
When you configure the network always need to specify certain parameters: the ip address, subnet mask, default gateway. Many users, for the first time configuring the network, do not know how to find this information and where to record them.
Subnet mask you can find out by looking at settings, network connections. Go to the start menu on the toolbar. Find the setup tab, select network connections. Before us there is a network connections window. If you have a network connection, in this window, they should be displayed. If the window is empty, then you need to create a network connection. Now consider the variant when you have all created.
Right-click on the network connections icon. In the appeared menu select the item "properties".
Appears properties window. Find a window with the title "components used when connecting".
Move the slider down window, find "Internet Protocol (TCP/IP)". Click with the left mouse button on the item. Just below become active-click on "properties".
Click on this button, a window "Properties: the Internet Protocol (TCP/IP)". Where you will see the IP address of your computer and the mask for the network. Typically, the mask value is always the same: 255.255.255.0.
If you first configure a network connection, Properties Internet Protocol (TCP/IP)" once you ordered an IP address, click with the left mouse button in the field subnet mask and 255.255.255.0 as the subnet mask appears automatically.