Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-24-2008, 03:27 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2008
Distribution: Fedora/Ubuntu
Posts: 18
Rep:
|
To find the public IP (on Ubuntu Server 8.10)
Hi, how can I check what is my public ip? I want people to connect to my site but I only have my private IP for my other computers at home. And I'm running Ubuntu Server so I don't have any kind of GUI to browse the net.
|
|
|
|
12-26-2008, 03:21 PM
|
#4
|
|
Member
Registered: Dec 2008
Location: Cleveland, OH
Distribution: Ubuntu
Posts: 30
Rep:
|
To make this easier on you you will probably want to run ddclient and use dyndns.org to get a hostname that you can use from the internet to connect to your dynamic IP. Of course, if you have a static address just ignore this  If you want to see the ip addresses assigned to the interfaces just use ifconfig -a
Last edited by alexhwest; 12-26-2008 at 03:22 PM.
|
|
|
|
12-27-2008, 03:57 PM
|
#5
|
|
Member
Registered: Jul 2004
Location: Boston, MA
Distribution: Slackware 13 & 11; Ubuntu; Slax
Posts: 172
Rep:
|
or if you have your own website that's public, the IP of the requesting machine (you) is sent to the page, so PHP or ASP can return that from the headers - I have that on my site: http://pnguyen.net/getmyip.php
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:09 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|