Xavante not answering on localhost


#1

Dear community

I have trained a model and want to access it via REST webservice. Therefore I followed the tutorial on http://opennmt.net/OpenNMT/tools/servers/ and started the REST server on localhost in the docker container. The server starts (sucessful?) and shows “Xavante started on port(s) 7784”, then halts.

If I start another session on the machine (outside docker) and try to query the xavante server, it is not responding. It is also not showing when executing the command netstat -tnlp.

Do you guys have an idea, what could be the issue here :slight_smile: ?

Best regards, Kai


(Panos Kanavos) #2

Hello @Kai,

Try to start the server with -host 0.0.0.0


#3

Dear Panosk, thanks a million, it works with your advice :slight_smile: