Cookonthefly server always defaults to ip 0.0.0.0

I’ve tried running UE4Editor.exe with my .uproject path at the end of the target + “-run=cook -targetplatform=WindowsNoEditor -cookonthefly -log”. It definitely finds my content and does what it needs to do.

The issue, as the title says, is that the server ip defaults to 0.0.0.0. I’m not intending to test on the same machine (i.e. I’m using cookonthefly from remote platforms), so this IP isn’t quite useful. I was drawn to this after the other machines couldn’t see the cooking server despite being given the correct IP to look at (with “-filehostip=xx.xxx.xxx.xxx”).

[2016.06.17-06.24.37:080][
0]LogFileServer:Warning: Unreal
Network File Server starting up…

[2016.06.17-06.24.37:115][
0]LogFileServer:Display: Unreal
Network File Server is ready for
client connections on 0.0.0.0:41899!

[2016.06.17-06.24.37:115][
0]LogFileServer:Warning: Unreal
Network Http File Server starting
up…

[2016.06.17-06.24.37:118][
0]LogFileServer:Display: Unreal
Network File Http Server is ready for
client connections on port 41898

Is there some way to manually specify the IP or other such options?

Thanks.

Hi ,

Not sure what is going on here. The server output of 0.0.0.0 just means that it’s creating a cook server on that machine on all network interfaces.
The -filehostip=x.x.x.x command is to be used on the client. It should point to the network interface of the server (which you will need to look up on the server.

So I’m not sure what you are asking. The -filehostip option needs to be supplied on the client and needs to have the ip address of a machine which is running the cook on the fly server.
The server you can’t specify the ip address because it’s using the local machine network adapter.

Hey MrFred, you’re totally right - worrying about the IP address on the server end was silly. I just had trouble getting a cookonthefly server working from another device, even with -filehostip=x.x.x.x, but I’ve tested a different device and it’s all fine. I’ll have to take this to a platform-specific section of the forums.

Thanks for your help, regardless! :slight_smile: