LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-05-2005, 03:04 PM   #16
anand_kt
Member
 
Registered: Dec 2004
Location: Chennai, India
Distribution: Red Hat, Knoppix
Posts: 86

Rep: Reputation: 15

You said you can browse from 192.168.1.100-103 clients, right?

First, You can do a tcpdump or tethereal from one such client and find out how it works.

Can you reconfirm if name resoultion works from the internet? If yes, pls explain.
 
Old 09-07-2005, 09:34 AM   #17
Sapient
Member
 
Registered: Oct 2003
Location: San Luis Obispo, CA
Distribution: SuSE
Posts: 196

Original Poster
Rep: Reputation: 30
Here is the scoop and solution to all this... sorta

I was able to get it working by using port 8080. http://www.hingedmind.com:8080/

It appears that Charter does block ports. Even though they say they do not.


Here are the questions...

This site has a lot of links elsewhere on the site. Of course the links do not work because they are not port specific.

For instance the chat link does not work:

http://www.hingedmind.com/echat/public/index.html

However it will work if you use this:

http://www.hingedmind.com:8080/echat/public/index.html

1) Is there a way around this without having to go in and re-code every link?

2) I tried several other ports that would not work prior to 8080. Why? I attempted to use 8000, 6000, and 5000 and none worked. Why?


Thanks for all the input.
 
Old 09-07-2005, 01:06 PM   #18
anand_kt
Member
 
Registered: Dec 2004
Location: Chennai, India
Distribution: Red Hat, Knoppix
Posts: 86

Rep: Reputation: 15
You could have user relative paths rather than absolute ones... just "../html/something/some.html" instead of "http://www.domain.com/html/something/some.html" ...

ok, now to the solution part...

I had similar problem sometime back... and i used find and grep to search in all files ending with ".html" and in them grep for "http://www.domain.com" and then replace it with "http://www.domain.com:8000" ..

i have done it and am sure it can be done, but i am sorry, i dont have the exact syntax with me now...
you can even write a perl to read from a series of file, find for lines containing string "http://www.domain.com" and then replace the string accordingly... a littel googling with easily accomplish this
 
Old 09-07-2005, 09:41 PM   #19
Sapient
Member
 
Registered: Oct 2003
Location: San Luis Obispo, CA
Distribution: SuSE
Posts: 196

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by anand_kt
You could have user relative paths rather than absolute ones... just "../html/something/some.html" instead of "http://www.domain.com/html/something/some.html" ...

ok, now to the solution part...

I had similar problem sometime back... and i used find and grep to search in all files ending with ".html" and in them grep for "http://www.domain.com" and then replace it with "http://www.domain.com:8000" ..

i have done it and am sure it can be done, but i am sorry, i dont have the exact syntax with me now...
you can even write a perl to read from a series of file, find for lines containing string "http://www.domain.com" and then replace the string accordingly... a littel googling with easily accomplish this

Thanks anand.

So the short answer is, there really is no work-around. Changing the links is a have-to.

One of the issues I am faced with is that most of this site is in flash.

Any ideas on why other ports did not work?


Thanks
 
Old 10-28-2005, 01:33 AM   #20
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
Did you solve the problem?

I would like to publish my webpage to let outside world take a look. Please really help this newBie.

I find this thread and I got similar problem like you, so I post my question here.

I using the probably the same Linksys router as DHCP/gateway and it assign IPs to local machines. I set maximum number of clients to be 8. So the range for the LAN is 192.168.1.100 - 192.168.1.107

Different from you is: you can assign a out of ranged static IP on your server,
I can not set a static IP for the Linux web server if I enable DHCP in the router. I need to "dhclient eth0" manually assign a IP for it.

On the Linksys router, I setup port forward for any requests coming in on port 80(http) and 53(DNS) to be directed to 192.168.1.107(my web server private IP)

Port Range Forward
Application Start End Protocol IP Address Enable
http 80 80 tcp/udp 192.168.1.107 x
dns 53 53 tcp/udp 192.168.1.107 x

If outside machines access my page(http://www.mysite.com), the registered domain points to my dynamic IP account (xxxx.dyndns.org). And the details of this account also set in the gateway router.


But outside still could not see my page, the error is:
ERROR
The requested URL cound not be retrieved
While trying to retrievce the URL http://xxxx.dyndns.org

The follow error was encountered:
connection failed
They system returned:
(111) connection refused


Please help my page can say helloWorld to others.

Last edited by fhleung; 10-28-2005 at 03:32 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IP Addressing static and dynamic Hockeyfan Linux - Networking 1 10-24-2005 07:06 PM
Dynamic IP to Static Temujin_12 *BSD 2 06-10-2005 04:58 PM
changing from dynamic to static ip sterrenkijker Debian 4 05-24-2004 04:11 PM
Static vs Dynamic Big Al Linux - Networking 2 12-08-2003 03:10 PM
NS with static or dynamic IP cijunet Linux - Networking 3 05-08-2003 11:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration