• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Server Port or FTP protocol in redirect KF2

sbvinboxru

Grizzled Veteran
Oct 11, 2012
62
0
When i do that can use ports to redirect to maps or that a redirect works on FTP protocol ? This is not a whim but a necessity.
Simple:
[IpDrv.HTTPDownload]
RedirectToURL=http://192.168.0.1:654/test2KF/
or
[IpDrv.HTTPDownload]
RedirectToURL=http://mysite.com:654/test2KF/
or
[IpDrv.HTTPDownload]
RedirectToURL=ftp://92.168.0.1/test2KF/

Working simple in Killing Floor (KillingFloor.ini):
[IpDrv.HTTPDownload]
RedirectToURL=http://192.168.0.1:54322/ytyrth77ht/
ProxyServerHost=
ProxyServerPort=3128
UseCompression=True

p.s.
sorry for my english
Ñ‹
 
Are you using FTP or a webserver? The first sentence kind of hints to webserver too. Just point your DNS to the full IP:port. Then use that url in the KF2 config. If you don't manage your DNS(www.somename.com), then you should search around for a free site(dyndns used to, but they stopped the free ones).

If it is FTP, you're kind of screwed.

https://www.namecheap.com/support/k...ain-to-a-certain-ip-address-along-with-a-port

https://www.namecheap.com/support/k.../318/10/can-i-add-an-srv-record-for-my-domain
 
Last edited:
Upvote 0
shaitan;n2304239 said:
Are you using FTP or a webserver? The first sentence kind of hints to webserver too. Just point your DNS to the full IP:port. Then use that url in the KF2 config. If you don't manage your DNS(www.somename.com), then you should search around for a free site(dyndns used to, but they stopped the free ones).

If it is FTP, you're kind of screwed.

https://www.namecheap.com/support/kn...ng-with-a-port

https://www.namecheap.com/support/kn...-for-my-domain






work:

image_19111.png



Don't work:

image_19112.png
 
Last edited:
Upvote 0
omano;n2304423 said:
Then do as everyone, use a webserver on default port and all will be OK. Or maybe try what has been already suggested.

Why is is a NECESSITY to not use the port 80 for your webserver?

Why should I use a WEB server if I have an HTTP server?
I ask "When i do that can use ports to redirect"
Why KF2 does not understand the ports in the link, although the first (KF1) part is fine with them work?
 
Last edited:
Upvote 0
omano;n2304441 said:
Yeah and maybe in other games you can connect to MySQL DB, but this is other games, on other engines.. anyways.. seems like you don't understand anything we say here so good luck.

I very carefully read all the answers. But I received no reply, everyone starts to persuade me about something.
I want to use the small utility "HTTP File Server" in KF2 and give the utility a port in the link.
And where does MySQL in general? How does the DB relate to the distribution of files?
 
Upvote 0
lol yeah absolutely no reply :[

clearly don't have a clue

HTTP File Server IS A WEB SERVER so use it on port 80, like any other web server, put your URL in your config file without the port (so your server IS ON PORT 80, the DEFAULT ONE).


WHY IS IT A NECESSITY to NOT USE DEFAULT PORT on your WEB SERVER? still no answer to that. The only reason I can think of is that you have already another web server on port 80 (but in this case, use this other web server..) or your ISP is blocking this port, in that case ask your ISP to unlock it.


Maybe TWI will change this and allow using web servers on non default port (or FTP) but this is really RARE case and I think this idea will go to the trash bin to not waste resources on something really specific not really needed for anyone.
In worst case scenario if you still don't get it, maybe open a free account on a web hosting with lot of disk space and use this, or use workshop)


Another suggestion, with your router maybe you can redirect people from internet on port 80, to your local web server port ;)
 
Upvote 0
omano;n2304443 said:

I have site, web server, 80 port opened, i dont want to use it for KF2. I want use utilites for files.
Do not try to persuade me on port 80. I do not want it. I created a specific topic about ports that differ from 80.
Once again, why did it work in KF1 and not work in KF2?

At the code level, this is not a problem at all. Especially the developers. Or if there is some option but I do not know it?
 
Upvote 0
So if you willingly do not want to use your server that will perfectly work, but want to use another server on a non default port for KF2, which is not possible, there is no solution at all. Use workshop.

So yeah, it was second post of the thread:

omano;n2299289 said:
I think only HTTP is supported, and on default port (and you don't write port 80 in url).



Once again, why did it work in KF1 and not work in KF2?
Once again, this is not the same game, not the same engine. KF1 had MANY YEARS of development, maybe they added this later, or maybe this was something built in UDK already.. Honestly I don't think they will spend time and resources on this (maybe, actually if you request it in the proper forum), there are other problems to fix first I think (real ones actually :D as you clearly have no 'issue', you do not want to use what you already have and works..), so do not hope for what you want..
 
Last edited:
Upvote 0
What could be on the previous version what the new version it is not possible to do?
I did not say it is not possible, I just said you should not hope for that to be added soon especially if nobody requested it, because there are thing to fix make add change before


Not sure, but you could try to set up a page on port 80 that redirects/forwards requests to a different port. Apache etc can do it, but not sure if HFS can be set up that way.
Problem is that he doesn't want to use (or modify or touch or whatever) his web server on port 80 so there is no option I think. Personally I think everything has been said on the topic. The ball is on his side, he knows what to do.
 
Upvote 0
If you really have to I guess you could write a download mod.

IpDrv.TcpNetDriver uses the DownloadManagers: OnlineSubsystemSteamworks.SteamWorkshopDownload, IpDrv.HTTPDownload, Engine.ChannelDownload

Maybe it is possible to add a download manager or modify/extend IpDrv.HTTPDownload so that it supports HTTP ports other than 80. You should ask a modder if it is possible and how to do it.
 
Upvote 0
Patros;n2304498 said:
If you really have to I guess you could write a download mod.

IpDrv.TcpNetDriver uses the DownloadManagers: OnlineSubsystemSteamworks.SteamWorkshopDownload, IpDrv.HTTPDownload, Engine.ChannelDownload

Maybe it is possible to add a download manager or modify/extend IpDrv.HTTPDownload so that it supports HTTP ports other than 80. You should ask a modder if it is possible and how to do it.

I about it. What needs to be fixed at the code level. IpDrv.u can not be touched. Only developers can do this.
 
Upvote 0