This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
We have apps that use the MongoDB Input tool to read our Alteryx Mongo files. It works great on the server and in apps on the gallery. My only question is there a simple way to modify the tool so that the workflow would also work on my local machine? Obviously the localhost would have to change to something else, but my basic attempts at putting in the server name or IP address did not immediately work.
For it to work remotely, you would need to update where it says 'localhost' to the IP or hostname of the server. See the yellow area below.
Ir the IP/Hostname is correct, perhaps it is failing because port 27018 is being blocked by a firewall? You can test to see if the port is open from a command prompt using the telnet command (assuming its installed). If the port is blocked or the service isn't available, you will get a response saying could not open connection to the host on port xxx. e.g.
If you connect to it successfully you will get a blinking cursor that will eventually drop you back at the command prompt like this:
In case the Alteryx as well the MongoDB are installed in VM, you won't get the DataBase names in the drop-down option, rather you have to enter that manually. once you enter that you click on the canvas and then again click on the MongoDB tool to get that collection being populated automatically.