Raised This Month: $32 Target: $400
 8% 

Fast Download from same pc as server. (Cs 1.6)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GodXen
Junior Member
Join Date: Mar 2012
Old 03-27-2012 , 22:09   Fast Download from same pc as server. (Cs 1.6)
Reply With Quote #1

Hello,
Does that's even possible?
If so how could i manage that to work?
I already managed to work with other "online host" but can't manage to work from my PC. Please help me and explain what's wrong.

Here's the sv_downloadurl "http://csfreaks.cs.funpic.org/cstrike" - that one works (its from funpic.org)
And here's the sv_downloadurl "http://csfreaks.ax.lt/cstrike/" - that doesn't works (its my apache server at the same pc as server is)

Any comment on topic would be great.
Thanks in advice
GodXen is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-27-2012 , 22:55   Re: Fast Download from same pc as server. (Cs 1.6)
Reply With Quote #2

Quote:
Originally Posted by GodXen View Post
Hello,
Does that's even possible?
If so how could i manage that to work?
I already managed to work with other "online host" but can't manage to work from my PC. Please help me and explain what's wrong.

Here's the sv_downloadurl "http://csfreaks.cs.funpic.org/cstrike" - that one works (its from funpic.org)
And here's the sv_downloadurl "http://csfreaks.ax.lt/cstrike/" - that doesn't works (its my apache server at the same pc as server is)

Any comment on topic would be great.
Thanks in advice
I think the problem is that your address is resolved to your external ip and you can't reach your external ip from inside. A solution would be to map that hostname to 127.0.0.1 or the internal lan ip of the pc where your sv_downloadurl server is.

Open this file
Code:
C:\Windows\System32\drivers\etc\hosts
And add a line
Code:
127.0.0.1 csfreaks.ax.lt

Last edited by joaquimandrade; 03-27-2012 at 22:55.
joaquimandrade is offline
GodXen
Junior Member
Join Date: Mar 2012
Old 03-27-2012 , 23:04   Re: Fast Download from same pc as server. (Cs 1.6)
Reply With Quote #3

Quote:
Originally Posted by joaquimandrade View Post
I think the problem is that your address is resolved to your external ip and you can't reach your external ip from inside. A solution would be to map that hostname to 127.0.0.1 or the internal lan ip of the pc where your sv_downloadurl server is.

Open this file
Code:
C:\Windows\System32\drivers\etc\hosts
And add a line
Code:
127.0.0.1 csfreaks.ax.lt
First time seems worked, second not. Should i remove from hosts?
Code:
127.0.0.1 localhost
And does i need to restart PC/server after that?
Sorry i could test that by myself, but i dont want to loose ur eye on this topic.

P.S. I can reach my external ip in web browser if thats needed to know.
P.S2 And also after restart same thing. First time it downloaded fast, second time no. Dunno whats wrong.

Last edited by GodXen; 03-27-2012 at 23:41.
GodXen is offline
GodXen
Junior Member
Join Date: Mar 2012
Old 03-28-2012 , 13:25   Re: Fast Download from same pc as server. (Cs 1.6)
Reply With Quote #4

Any more suggestions?
and sorry for inpatience
GodXen is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 03-28-2012 , 13:50   Re: Fast Download from same pc as server. (Cs 1.6)
Reply With Quote #5

Quote:
Originally Posted by Rules
Do not "bump" your threads. Bumping is posting simply to make the thread higher in the forum sort order.
__________________

Mordekay is offline
8088
Veteran Member
Join Date: Jan 2008
Old 03-28-2012 , 16:24   Re: Fast Download from same pc as server. (Cs 1.6)
Reply With Quote #6

If you're behind a router, forward port 80 to your web server. It's closed/not forwarded now. Testing this from the same LAN is unreliable.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
GodXen
Junior Member
Join Date: Mar 2012
Old 03-28-2012 , 16:40   Re: Fast Download from same pc as server. (Cs 1.6)
Reply With Quote #7

Quote:
Originally Posted by 8088 View Post
If you're behind a router, forward port 80 to your web server. It's closed/not forwarded now. Testing this from the same LAN is unreliable.
Its open (port checkers, proxy browser, and even i can reach). I dont use any router/modem. Only "ZTE ZXA10 F601 ONT" - Optical fiber to copper wire thing (i think), which gives me only external ip.

Last edited by GodXen; 03-28-2012 at 17:06.
GodXen is offline
8088
Veteran Member
Join Date: Jan 2008
Old 03-28-2012 , 16:47   Re: Fast Download from same pc as server. (Cs 1.6)
Reply With Quote #8

At the time of my previous post, port 80 was closed while other ports on the same machine were open:
Code:
# nmap -O -PN csfreaks.ax.lt

Starting Nmap 5.00 ( http://nmap.org ) at 2012-03-28 22:21 CEST
Interesting ports on 78.58.34.84:
Not shown: 996 filtered ports
PORT     STATE  SERVICE
135/tcp  open   msrpc
139/tcp  open   netbios-ssn
445/tcp  open   microsoft-ds
1034/tcp closed zincite-a
Device type: general purpose
Running: Microsoft Windows 2000|XP
OS details: Microsoft Windows 2000 Server SP3 or SP4, Microsoft Windows XP Professional SP2, Microsoft Windows XP SP2, Microsoft Windows XP SP2 or SP3, or Windows Server 2003, Microsoft Windows XP SP3

OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 6.56 seconds
__________________
steamID converter with OpenSearch browser plugin

Last edited by 8088; 03-28-2012 at 16:49.
8088 is offline
GodXen
Junior Member
Join Date: Mar 2012
Old 03-28-2012 , 17:04   Re: Fast Download from same pc as server. (Cs 1.6)
Reply With Quote #9

Quote:
Originally Posted by 8088 View Post
At the time of my previous post, port 80 was closed while other ports on the same machine were open:
Code:
# nmap -O -PN csfreaks.ax.lt

Starting Nmap 5.00 ( http://nmap.org ) at 2012-03-28 22:21 CEST
Interesting ports on 78.58.34.84:
Not shown: 996 filtered ports
PORT     STATE  SERVICE
135/tcp  open   msrpc
139/tcp  open   netbios-ssn
445/tcp  open   microsoft-ds
1034/tcp closed zincite-a
Device type: general purpose
Running: Microsoft Windows 2000|XP
OS details: Microsoft Windows 2000 Server SP3 or SP4, Microsoft Windows XP Professional SP2, Microsoft Windows XP SP2, Microsoft Windows XP SP2 or SP3, or Windows Server 2003, Microsoft Windows XP SP3

OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 6.56 seconds
well at that time i wasnt runing apache server.

Also i dont know if that could matter on this thing but when i run apache and stop the server, i cant start it again, theres some errors i didnt noted down, but when i restart pc it starts automaticaly without any problam.
Anyway i dont believe that could cause the problam because we can reach that..

I really wanna solve this problam, also im new with things like this (apache, external IP - got only 2weaks ago or so, and so on.)
GodXen is offline
8088
Veteran Member
Join Date: Jan 2008
Old 03-28-2012 , 17:24   Re: Fast Download from same pc as server. (Cs 1.6)
Reply With Quote #10

The launch errors should be available in the event log of Windows. And the access and error logs of your domain may also hold valuable information.
__________________
steamID converter with OpenSearch browser plugin

Last edited by 8088; 03-28-2012 at 17:24.
8088 is offline
Reply



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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode