Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
How To Change To Port Number Of Trains Server?

How to change to port number of trains server?

  
  
Posted 4 years ago
Votes Newest

Answers 4


How can you trick the machine to think it is another port? i.e, put a "port in the middle". That the api server port will think it communicate to 8008 but that it will actually communicate to a middle man, which will port on another port?

  
  
Posted 4 years ago

The best way to do that is simply use a load balancer with subdomains - it will be much safer and won't require any hacks. Are you running your Trains Server locally, or on the cloud?

  
  
Posted 4 years ago

By the way, we are planning to address this issue soon...

  
  
Posted 4 years ago

Hi VivaciousWalrus99 ,
If you're using Trains Server in it's default setup (i.e. not using a load balancer and subdomains), you can only change the port numbers for the Web interface (8080 by default) and the Fileserver (8081 by default). The API Server's port (8008) should not be changed (we plan to change that in future versions).

  
  
Posted 4 years ago