Be sure and URL encode the URL you’re trying to share – it’s not valid to present it “naked” on the querystring like that.
You might also find it difficult to properly wrap URLs of this variety – IP address with port. Generally that’s not an above-the-board way to share content on Twitter.