Try this instead:
```python
print "Port %d is already used on this host. Please define a free port." % (resultPort)
```

I find it more practical and readable.