Having trouble with interrupt on gy 521 mpu

I cannot get the interrupt right . when i connect the int pin to the pin 1 ( tx) i am able to get accelerometer and gyroscope values ,but on every forum and website i seee i need to connect to the digital pin 2 . And when running the dmp example in i2c library iam stuck on waiting for interrupt line ....... Can anyone help pls